newsbot-portal/apiclient/client.go

17 lines
274 B
Go
Raw Normal View History

2024-05-12 09:21:20 -07:00
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),
}
}