logserver

package
v0.10.0-rc2 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	DefaultSocketLocation = "\x00logserver"
)

Functions

func StartServerWithDefaults

func StartServerWithDefaults()

StartServerWithDefaults starts the server with default values. If the ACORN_LOG_LEVEL environment variable is set, it will be parsed and used to set the log level.

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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