endpoint

package
v1.6.6 Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ENDPOINT_CONFIG  = "endpoint_config"
	CLIENT_AUTH_TYPE = "client_auth_type"

	CERTS_CA  = "ssl_ca_file"
	CERTS_CRT = "ssl_crt_file"
	CERTS_KEY = "ssl_key_file"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type MyHttpEndpoint

type MyHttpEndpoint struct {
	*cserv.HttpEndpoint
	// contains filtered or unexported fields
}

func NewMyHttpEndpoint

func NewMyHttpEndpoint() *MyHttpEndpoint

func (*MyHttpEndpoint) Configure

func (c *MyHttpEndpoint) Configure(config *cconf.ConfigParams)

func (*MyHttpEndpoint) GetCaCert

func (c *MyHttpEndpoint) GetCaCert() (*x509.CertPool, error)

func (*MyHttpEndpoint) GetCertificates

func (c *MyHttpEndpoint) GetCertificates() ([]tls.Certificate, error)

func (*MyHttpEndpoint) GetClientAuthType

func (c *MyHttpEndpoint) GetClientAuthType() tls.ClientAuthType

Jump to

Keyboard shortcuts

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