server

package
v0.0.0-...-f3f635d Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2019 License: Unlicense Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

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

Server represents an abstraction for a server

func NewServer

func NewServer() *Server

NewServer initialize all components required to start the server, it will include differents transport layers in the future

func (*Server) GetErrorChannel

func (server *Server) GetErrorChannel() chan error

GetErrorChannel returns the main error channel

func (*Server) Run

func (server *Server) Run()

Run the internal components

Jump to

Keyboard shortcuts

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