server

package
v0.0.0-...-0690fc6 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2020 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Resource

type Resource interface {
	resources.Server
}

Resource AFAIRE.

type Server

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

Server AFAIRE.

func New

func New(util util.Resource, logger *logger.Logger, config config.Resource) *Server

New AFAIRE.

func (*Server) Port

func (s *Server) Port() int

Port AFAIRE.

func (*Server) Router

func (s *Server) Router() *mux.Router

Router AFAIRE.

func (*Server) Start

func (s *Server) Start() (*Server, error)

Start AFAIRE.

func (*Server) Stop

func (s *Server) Stop()

Stop AFAIRE.

Jump to

Keyboard shortcuts

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