server

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2025 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewRouter

func NewRouter() http.Handler

Types

type Server

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

func New

func New(addr string) *Server

func (*Server) ShutDown

func (s *Server) ShutDown(ctx *context.Context) error

func (*Server) ShutDownWithDefaultContext

func (s *Server) ShutDownWithDefaultContext() error

func (*Server) Start

func (s *Server) Start() error

Jump to

Keyboard shortcuts

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