server

package
v5.1.10-release+incomp... Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2020 License: LGPL-3.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LogServer

type LogServer struct {
	Conf         conf.Conf
	Entry        *entry.Entry
	Logger       *logrus.Logger
	SocketServer *web.SocketServer
	Cluster      cluster.Cluster
}

func NewLogServer

func NewLogServer() *LogServer

func (*LogServer) AddFlags

func (s *LogServer) AddFlags(fs *pflag.FlagSet)

AddFlags 添加参数

func (*LogServer) InitConf

func (s *LogServer) InitConf()

InitConf 初始化配置

func (*LogServer) InitLog

func (s *LogServer) InitLog()

InitLog 初始化log

func (*LogServer) Run

func (s *LogServer) Run() error

Run 执行

Jump to

Keyboard shortcuts

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