package
Version:
v1.4.1
Opens a new window with list of versions in this module.
Published: Aug 17, 2023
License: Apache-2.0
Opens a new window with license information.
Imports: 12
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func GenerateSnapshot() *cache.Snapshot
RunServer starts an xDS server at the given port.
type Logger struct {
Debug bool
}
An example of a logger that implements `pkg/log/Logger`. Logs to
stdout. If Debug == false then Debugf() and Infof() won't output
anything.
func (logger Logger) Debugf(format string, args ...interface{})
Log to stdout only if Debug is true.
func (logger Logger) Errorf(format string, args ...interface{})
Log to stdout always.
func (logger Logger) Infof(format string, args ...interface{})
Log to stdout only if Debug is true.
func (logger Logger) Warnf(format string, args ...interface{})
Log to stdout always.
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.