server

package
v0.0.0-...-0dd0bb4 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2019 License: MIT Imports: 9 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(serverConfig *config.ServerConfig, opts ...ServerOption) (*Server, error)

func (*Server) Shutdown

func (server *Server) Shutdown() error

Shutdown attempts to gracefully shutdown the server.

func (*Server) Start

func (server *Server) Start() error

type ServerOption

type ServerOption func(*Server) error

Directories

Path Synopsis
api
v1

Jump to

Keyboard shortcuts

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