server

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2020 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run()

Run run server

Types

type Server

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

func NewServer

func NewServer(config *conf.Config) *Server

func (*Server) ListenAndServer

func (s *Server) ListenAndServer() error

type Service

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

func NewService

func NewService(server *Server, cfg *conf.ServiceConfig) *Service

func (*Service) ListenAndServe

func (s *Service) ListenAndServe() error

Jump to

Keyboard shortcuts

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