server

package
v0.0.0-...-560616e Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2019 License: Apache-2.0, MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(logger *zap.SugaredLogger, rpcAddr string, httpAddr string, dataDir string) error

Types

type Config

type Config struct {
	DataDir string
}

type StructuredLogServer

type StructuredLogServer struct {
	sync.RWMutex
	// contains filtered or unexported fields
}

func NewRpcHandler

func NewRpcHandler(logger *zap.SugaredLogger, config *Config) (*StructuredLogServer, error)

func (*StructuredLogServer) AppendLogs

func (*StructuredLogServer) Close

func (s *StructuredLogServer) Close() error

func (*StructuredLogServer) GetLogs

func (*StructuredLogServer) ListTopics

func (*StructuredLogServer) StreamLogs

Jump to

Keyboard shortcuts

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