Help us shape the future of Go! Take the 2026 Go Developer Survey

config

package
v0.7.95 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2026 License: Apache-2.0 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
	Server      string
	ServerList  map[string]string
	UserAgent   string
	Globals     globals.Globals
	RetryConfig *retry.Config
	Timeout     *time.Duration
}

func (*SDKConfiguration) FillGlobalsFromEnv

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