http

package
v0.5.2 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2020 License: MIT Imports: 13 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(port uint16) *Server

func (*Server) Addr

func (s *Server) Addr() string

func (*Server) BuildServer added in v0.2.0

func (s *Server) BuildServer(tlsConfig *tls.Config) (err error)

func (*Server) Close

func (s *Server) Close() error

func (*Server) RegistryDesc

func (s *Server) RegistryDesc(services ...transport.Service)

func (*Server) Router

func (s *Server) Router() chi.Router

func (*Server) Serve

func (s *Server) Serve() error

Jump to

Keyboard shortcuts

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