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 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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