config

package
v0.8.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 1, 2025 License: BSD-2-Clause Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HTTPClient

type HTTPClient interface {
	Do(req *http.Request) (*http.Response, error)
}

type SDKConfiguration

type SDKConfiguration struct {
	Client      HTTPClient
	Security    func(context.Context) (interface{}, error)
	ServerURL   string
	ServerIndex int
	ServerList  []string
	UserAgent   string
	Globals     globals.Globals
	RetryConfig *retry.Config
	Timeout     *time.Duration
}

func (*SDKConfiguration) FillGlobalsFromEnv added in v0.8.0

func (c *SDKConfiguration) FillGlobalsFromEnv()

func (*SDKConfiguration) GetServerDetails

func (c *SDKConfiguration) GetServerDetails() (string, map[string]string)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL