rainbond: github.com/goodrain/rainbond/cmd/eventlog/server Index | Files

package server

import "github.com/goodrain/rainbond/cmd/eventlog/server"

Index

Package Files

server.go

type LogServer Uses

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

func NewLogServer Uses

func NewLogServer() *LogServer

func (*LogServer) AddFlags Uses

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

AddFlags 添加参数

func (*LogServer) InitConf Uses

func (s *LogServer) InitConf()

InitConf 初始化配置

func (*LogServer) InitLog Uses

func (s *LogServer) InitLog()

InitLog 初始化log

func (*LogServer) Run Uses

func (s *LogServer) Run() error

Run 执行

Package server imports 15 packages (graph) and is imported by 1 packages. Updated 2019-08-23. Refresh now. Tools for package owners.