server

package
v0.0.1-alpha-8 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2021 License: Apache-2.0 Imports: 5 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
}

func NewServer

func NewServer() *Server

func (*Server) AddPair

func (s *Server) AddPair(watcher pair.Watcher, handler pair.Handler)

func (*Server) Run

func (s *Server) Run(chi *chi.Mux, port string)

Run starts every pair's Listen and serves the chi.Mux on a given port

Jump to

Keyboard shortcuts

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