package client const ( HeaderContentType = "Content-Type" MIMEApplicationForm = "application/x-www-form-urlencoded" ) type ApiClient struct { Auth Auth Demo DemoApiClient ServerAddress string } func New(serverAddress string) ApiClient { return ApiClient{ Auth: newAuthClient(serverAddress), Demo: newDemoClient(serverAddress), } }