server

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2021 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 MainHandler

type MainHandler struct{}

MainHandler handles common agent requests

func (*MainHandler) Handle

func (h *MainHandler) Handle(request router.Request) (interface{}, error)

Handle handles request

type Server

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

Server structure

func (*Server) Serve

func (s *Server) Serve() error

Serve starts TCP server

Jump to

Keyboard shortcuts

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