client

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2023 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 Config

type Config struct {
	CacertFile        string `yaml:"cacertFile"`
	ClientCertFile    string `yaml:"clientCertFile"`
	ClientKeyFile     string `yaml:"clientKeyFile"`
	ClientKeyPassword string `yaml:"clientKeyPassword"`
	// contains filtered or unexported fields
}

func (*Config) GetTlsConfig

func (c *Config) GetTlsConfig() *tls.Config

func (*Config) Init

func (c *Config) Init() error

func (*Config) NewClient

func (c *Config) NewClient() *http.Client

Jump to

Keyboard shortcuts

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