http

package
v0.1.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler interface {
	RegisterRoutes(e *echo.Echo)
}

Handler :

type Server

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

HTTPServer :

func NewHTTPServer

func NewHTTPServer(c *ServerConfig) (*Server, error)

NewHTTPServer :

func (*Server) RegisterHandler

func (s *Server) RegisterHandler(handler Handler)

RegisterHandler :

func (*Server) Shutdown

func (s *Server) Shutdown()

Shutdown :

func (*Server) Start

func (s *Server) Start()

Start :

type ServerConfig

type ServerConfig struct {
	BindAddress string `mapstructure:"bind_address"`
}

ServerConfig :

Jump to

Keyboard shortcuts

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