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 :

Source Files