server

package
v0.0.0-...-5dd17a9 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2022 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Host    string
	Port    int
	DBHost  string
	DBPort  int
	DBUser  string
	DBPass  string
	DBName  string
	Timeout time.Duration
}

type Server

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

func New

func New(config *Config) *Server

func (*Server) Run

func (s *Server) Run()

Jump to

Keyboard shortcuts

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