Moved specifc backends into separate packages

This commit is contained in:
Philipp Wolfer 2023-11-12 01:14:53 +01:00
parent dfaf21b234
commit 48c8843f91
No known key found for this signature in database
GPG key ID: 8FDF744D4919943B
17 changed files with 127 additions and 98 deletions

View file

@ -35,7 +35,7 @@ type Client struct {
token string
}
func New(serverUrl string, token string) Client {
func NewClient(serverUrl string, token string) Client {
resty := resty.New()
resty.SetBaseURL(serverUrl)
resty.SetAuthScheme("Bearer")