server

package
v0.0.0-...-d084f79 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2020 License: GPL-3.0 Imports: 17 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(cfg models.Config, logger zerolog.Logger) *Server

Creates a new server instance with dependencies

func (*Server) Shutdown

func (s *Server) Shutdown()

Signals shutdown across the server

func (*Server) Start

func (s *Server) Start()

Starts all asynchronous processes the server

func (*Server) StartHTTPServer

func (s *Server) StartHTTPServer()

Starts HTTP server

Jump to

Keyboard shortcuts

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