server

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2025 License: AGPL-3.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
}

Server instance

func NewServer

func NewServer(conf *config.Config) *Server

NewServer creates new server instance

func (*Server) ListenAndServe

func (s *Server) ListenAndServe() error

ListenAndServe starts server

func (*Server) Shutdown

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

Shutdown server and managed service

Jump to

Keyboard shortcuts

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