xdsserver

package
v0.0.1-rc2 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2022 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Logger

type Logger struct{}

func (Logger) Debugf

func (logger Logger) Debugf(format string, args ...interface{})

func (Logger) Errorf

func (logger Logger) Errorf(format string, args ...interface{})

func (Logger) Infof

func (logger Logger) Infof(format string, args ...interface{})

func (Logger) Warnf

func (logger Logger) Warnf(format string, args ...interface{})

type Server

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

func New

func New(c *config.Bootstrap) *Server

func (*Server) Run

func (s *Server) Run(ctx context.Context) error

func (*Server) UpdateSnaphot

func (s *Server) UpdateSnaphot(ctx context.Context, nodeID string, snapshot *cache.Snapshot) error

type SnaphotUpdater

type SnaphotUpdater interface {
	UpdateSnaphot(ctx context.Context, nodeID string, snapshot *cache.Snapshot) error
}

Jump to

Keyboard shortcuts

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