web

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2024 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HttpRouter

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

func NewRouter

func NewRouter(sdkRegistrar sdk.Registrar, metrics metrics.Reporter, reporter status.Reporter, conf *config.HttpConfig, log log.Logger) *HttpRouter

func (*HttpRouter) Close

func (s *HttpRouter) Close()

func (*HttpRouter) Handler

func (s *HttpRouter) Handler() http.Handler

type Server

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

func NewServer

func NewServer(handler http.Handler, log log.Logger, conf *config.Config, errorChan chan error) (*Server, error)

func (*Server) Listen

func (s *Server) Listen()

func (*Server) Shutdown

func (s *Server) Shutdown()

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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