server

package
v0.0.0-...-0835840 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2022 License: GPL-3.0 Imports: 12 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 - server structure

func New

func New(config *config.Config, logger *logrus.Logger) *Server

New - new server instance

func (*Server) ConfigureLogger

func (srv *Server) ConfigureLogger() error

ConfigureLogger - logger configuration

func (*Server) ConfigureRouter

func (srv *Server) ConfigureRouter()

ConfigureRouter - router configuration

func (*Server) ConfigureStore

func (srv *Server) ConfigureStore() error

ConfigureStore - database configuration

func (*Server) Start

func (srv *Server) Start() error

Start - start server instance

Jump to

Keyboard shortcuts

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