option

package
v3.6.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2018 License: LGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	EtcdEndPoints        []string
	Address              string
	HostIP               string
	HostName             string
	Port                 int
	SessionKey           string
	PrometheusMetricPath string
}

Config config server

type WebCliServer

type WebCliServer struct {
	Config
	LogLevel string
}

WebCliServer container webcli server

func NewWebCliServer

func NewWebCliServer() *WebCliServer

NewWebCliServer new server

func (*WebCliServer) AddFlags

func (a *WebCliServer) AddFlags(fs *pflag.FlagSet)

AddFlags config

func (*WebCliServer) SetLog

func (a *WebCliServer) SetLog()

SetLog 设置log

Jump to

Keyboard shortcuts

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