server

package
v0.0.0-...-55a90a5 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2021 License: MIT 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 Get

func Get(addr string, rtr *router.Router) *Server

func (*Server) Close

func (s *Server) Close() error

func (*Server) Start

func (s *Server) Start() error

func (*Server) WithAddr

func (s *Server) WithAddr(addr string) *Server

func (*Server) WithErrLogger

func (s *Server) WithErrLogger(l *log.Logger) *Server

func (*Server) WithRouter

func (s *Server) WithRouter(router *chi.Mux) *Server

Jump to

Keyboard shortcuts

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