pkg

package
v1.5.38 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2022 License: MIT Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(conf *config.ServerConfig) error

Run brings up the server

Types

type Server

type Server struct {
	// contains filtered or unexported fields
}

Server define this main server

func NewServer

func NewServer(conf *config.ServerConfig) (*Server, error)

NewServer return the new main server

func (*Server) Start

func (s *Server) Start() error

Start init object and start http server

Directories

Path Synopsis
api
v1
v2

Jump to

Keyboard shortcuts

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