impl

package
v0.0.0-...-bc939e2 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2022 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateCLI

func CreateCLI() *cli.App

CreateCLI creates a new cli Application with Name, Usage, Version and Actions

Types

type Server

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

Server is the main Server object structure

func NewServer

func NewServer(config *appConfig) *Server

NewServer creates new Server object

func (*Server) Serve

func (server *Server) Serve() error

Serve prepares and starts Server

func (*Server) Shutdown

func (server *Server) Shutdown(timeout time.Duration) error

Shutdown stops mux server

Jump to

Keyboard shortcuts

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