logserver

package
v2.0.0-rc4+incompatible Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2018 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