pkg

package
v1.5.33 Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2021 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