appserver

package
v0.0.0-...-08e1117 Latest Latest
Warning

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

Go to latest
Published: Jan 1, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewLoggingHandler

func NewLoggingHandler(toWrap http.Handler, logger *log.Logger) *loggingHandler

Middleware struct for adding logging to requests

Types

type AppServer

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

func NewAppServer

func NewAppServer(flags *pflag.FlagSet) (*AppServer, error)

Struct used as primary entrypoint for an RPC based interface.

func (*AppServer) BlockingRun

func (es *AppServer) BlockingRun() int

func (*AppServer) Run

func (es *AppServer) Run()

Jump to

Keyboard shortcuts

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