weblog

package
v2.0.0-beta1+incompatible Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2016 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(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