weblog

package
v1.12.1 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2015 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server struct {
	// contains filtered or unexported fields
}

Server implements a simple HTTP server that handles GET and DELETE requests for application logs. These actions are accomplished by delegating to a syslogish.Server, which will broker communication between its underlying storage.Adapter and this weblog server.

func NewServer

func NewServer(bindHost string, bindPort int, syslogishServer *syslogish.Server) (*Server, error)

NewServer returns a pointer to a new Server instance.

func (*Server) Listen

func (s *Server) Listen()

Listen starts the server's main loop.

Jump to

Keyboard shortcuts

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