ura

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2021 License: CC-BY-SA-4.0 Imports: 15 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
}

func NewServer

func NewServer(listen string, staticPath string, templateGen *util.TemplateBuilderGenerator, shelf *shelf.Shelf, entityCache *cache.EntityCache, momentCache *cache.MomentCache) *Server

func (*Server) ServeHTTP

func (srv *Server) ServeHTTP(w http.ResponseWriter, r *http.Request)

func (*Server) Shutdown

func (srv *Server) Shutdown(ctx context.Context) error

func (*Server) Start

func (srv *Server) Start() error

Jump to

Keyboard shortcuts

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