Documentation ¶ Index ¶ func Client(clientConfig *ClientConfig) *resty.Client func Default() *resty.Client func External(cfg *config.Config) *resty.Client func Internal(ctx context.Context, cfg *InternalClientConfig) (*resty.Client, error) type ClientConfig type InternalClientConfig Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Client ¶ func Client(clientConfig *ClientConfig) *resty.Client func Default ¶ added in v0.2.12 func Default() *resty.Client func External ¶ added in v0.4.9 func External(cfg *config.Config) *resty.Client func Internal ¶ added in v0.4.2 func Internal(ctx context.Context, cfg *InternalClientConfig) (*resty.Client, error) Types ¶ type ClientConfig ¶ type ClientConfig struct { Host string Port string Headers map[string]string } type InternalClientConfig ¶ added in v0.5.77 type InternalClientConfig struct { RetryCount int RetryWaitTime time.Duration ServiceName string Debug bool AuthMSHost string WithInternalAuth bool } Source Files ¶ View all Source files client.go config.go Click to show internal directories. Click to hide internal directories.