fetcher

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Fetcher

type Fetcher interface {
	GetRemoteCertificate() (*binding.RadiusCertificate, error)
}

type HttpFetcher

type HttpFetcher struct {
	// contains filtered or unexported fields
}

func NewHttpFetcher

func NewHttpFetcher(client *client.Client) *HttpFetcher

func (*HttpFetcher) GetRemoteCertificate

func (f *HttpFetcher) GetRemoteCertificate() (*binding.RadiusCertificate, error)

type RenewedHandler

type RenewedHandler func(cert *binding.RadiusCertificate) error

type UpdateFetcher

type UpdateFetcher interface {
	Start() error
	Stop() error
	Configure() error
	AddHandler(key string, h RenewedHandler) string
	RemoveHandler(key string)
}

Jump to

Keyboard shortcuts

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