src

package
v0.0.0-...-499a7fd Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2020 License: MIT Imports: 26 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
}

Server holds application API server

func NewServer

func NewServer(logger log.Logger, config *types.Config) *Server

NewServer creates new copy of Server

func (*Server) Routes

func (s *Server) Routes() *Server

Routes binds api routes to handlers

func (*Server) Run

func (s *Server) Run()

Run starts api server

Jump to

Keyboard shortcuts

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