core

package
v0.0.0-...-5f47394 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CustomTimeEncoder

func CustomTimeEncoder(t time.Time, enc zapcore.PrimitiveArrayEncoder)

CustomTimeEncoder custom log output time format

func GenerateSnapshotPixiu

func GenerateSnapshotPixiu() cache.Snapshot

GenerateSnapshotPixiu returns a snapshot with a single cluster and endpoint.

func RunServer

func RunServer()

RunServer start server

func StartxDsServer

func StartxDsServer() error

StartxDsServer RunXDSServerWithCache starts an xDS server at the gi.ven port.

func Viper

func Viper(path ...string) *viper.Viper

func Zap

func Zap() (logger *zap.Logger)

Types

This section is empty.

Jump to

Keyboard shortcuts

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