{"modulePath":"github.com/AccelByte/accelbyte-go-modular-sdk/basic-sdk","version":"v0.4.0","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package basicclient\n\n## Constants\n\n```go\nconst (\n\t// DefaultHost is the default Host\n\t// found in Meta (info) section of spec file\n\tDefaultHost string = \"demo.accelbyte.io\"\n\t// DefaultBasePath is the default BasePath\n\t// found in Meta (info) section of spec file\n\tDefaultBasePath string = \"/\"\n)\n```\n\n## Variables\n\n```go\nvar Default = NewHTTPClient(nil)\n```\nDefault justice basic service HTTP client.\n\n```go\nvar DefaultSchemes = []string{\"https\"}\n```\nDefaultSchemes are the default schemes found in Meta (info) section of spec file\n\n## Functions\n\n```go\nfunc NewDateTime(t time.Time) strfmt.DateTime\n```\n\n## Types\n\n```go\ntype JusticeBasicService struct {\n\tAnonymization anonymization.ClientService\n\n\tConfig config.ClientService\n\n\tFileUpload file_upload.ClientService\n\n\tMisc misc.ClientService\n\n\tNamespace namespace.ClientService\n\n\tUserProfile user_profile.ClientService\n\n\tRuntime   *httptransport.Runtime\n\tTransport runtime.ClientTransport\n}\n```\nJusticeBasicService is a client for justice basic service\n\n```go\nfunc New(transport runtime.ClientTransport, runtime *httptransport.Runtime, formats strfmt.Registry) *JusticeBasicService\n```\nNew creates a new justice basic service client\n\n```go\nfunc NewClientWithBasePath(url string, endpoint string) *JusticeBasicService\n```\n\n```go\nfunc NewHTTPClient(formats strfmt.Registry) *JusticeBasicService\n```\nNewHTTPClient creates a new justice basic service HTTP client.\n\n```go\nfunc NewHTTPClientWithConfig(formats strfmt.Registry, cfg *TransportConfig) *JusticeBasicService\n```\nNewHTTPClientWithConfig creates a new justice basic service HTTP client, using a customizable transport config.\n\n```go\nfunc (c *JusticeBasicService) SetTransport(transport runtime.ClientTransport)\n```\nSetTransport changes the transport on the client and all its subresources\n\n```go\ntype TransportConfig struct {\n\tHost          string\n\tBasePath      string\n\tSchemes       []string\n\tUserAgentFunc func() string\n}\n```\nTransportConfig contains the transport related info, found in the meta section of the spec file.\n\n```go\nfunc DefaultTransportConfig() *TransportConfig\n```\nDefaultTransportConfig creates a TransportConfig with the default settings taken from the meta section of the spec file.\n\n```go\nfunc (cfg *TransportConfig) WithBasePath(basePath string) *TransportConfig\n```\nWithBasePath overrides the default basePath, provided by the meta section of the spec file.\n\n```go\nfunc (cfg *TransportConfig) WithHost(host string) *TransportConfig\n```\nWithHost overrides the default host, provided by the meta section of the spec file.\n\n```go\nfunc (cfg *TransportConfig) WithSchemes(schemes []string) *TransportConfig\n```\nWithSchemes overrides the default schemes, provided by the meta section of the spec file.\n\n","path":"github.com/AccelByte/accelbyte-go-modular-sdk/basic-sdk/pkg/basicclient","name":"basicclient","synopsis":"","isRedistributable":true}
