server

package
v0.0.0-...-f6b08e7 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	Port   string
	Server *http.ServeMux
	Router *router.Router
}

Client is the the Server Client

func NewServer

func NewServer(port string) *Client

NewServer create a new Server instance that contains a new Mux and a new Router

func (*Client) Listen

func (s *Client) Listen()

Listen start listening

Jump to

Keyboard shortcuts

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