config

package
v0.2.11 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2021 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConfigCtx

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

func NewConfigCtx

func NewConfigCtx(basePath string, interval time.Duration) *ConfigCtx

func (*ConfigCtx) CDS

func (c *ConfigCtx) CDS(name string) bind.StreamDialer

func (*ConfigCtx) EDS

func (c *ConfigCtx) EDS(name string) bind.StreamDialer

func (*ConfigCtx) LDS

func (c *ConfigCtx) LDS(name string) bind.Service

func (*ConfigCtx) RDS

func (c *ConfigCtx) RDS(name string) bind.HTTPHandler

func (*ConfigCtx) RegisterCDS

func (c *ConfigCtx) RegisterCDS(name string, dialer bind.StreamDialer, msg proto.Message) bind.StreamDialer

func (*ConfigCtx) RegisterEDS

func (c *ConfigCtx) RegisterEDS(name string, dialer bind.StreamDialer, msg proto.Message) bind.StreamDialer

func (*ConfigCtx) RegisterLDS

func (c *ConfigCtx) RegisterLDS(name string, service bind.Service, msg proto.Message) bind.Service

func (*ConfigCtx) RegisterRDS

func (c *ConfigCtx) RegisterRDS(name string, handler bind.HTTPHandler, msg proto.Message) bind.HTTPHandler

func (*ConfigCtx) RegisterSDS

func (c *ConfigCtx) RegisterSDS(name string, tls bind.TLS, msg proto.Message) bind.TLS

func (*ConfigCtx) SDS

func (c *ConfigCtx) SDS(name string) bind.TLS

func (*ConfigCtx) Save added in v0.2.9

func (c *ConfigCtx) Save(ctx context.Context)

func (*ConfigCtx) Update

func (c *ConfigCtx) Update()

func (*ConfigCtx) Watch

func (c *ConfigCtx) Watch(ctx context.Context, update func())

Jump to

Keyboard shortcuts

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