newsbot-portal/apiclient/client.go

17 lines
274 B
Go

package apiclient
const (
HeaderContentType = "Content-Type"
MIMEApplicationForm = "application/x-www-form-urlencoded"
)
type ApiClient struct {
Users Users
}
func New(serverAddress string) ApiClient {
return ApiClient{
Users: newUserService(serverAddress),
}
}