logserver

package
v2.1.12-rc1+incompatible Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	DefaultSocketLocation = "/tmp/log.sock"
)

Functions

func StartServerWithDefaults

func StartServerWithDefaults()

StartServerWithDefaults starts the server with default values

Types

type Server

type Server struct {
	SocketLocation string
	Debug          bool
}

Server structure is used to the store backend information

func (*Server) ListenAndServe

func (s *Server) ListenAndServe() error

ListenAndServe is used to setup handlers and start listening on the specified location

func (*Server) Start

func (s *Server) Start()

Start the server

Jump to

Keyboard shortcuts

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