server

package
v2.0.10 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2024 License: MIT Imports: 9 Imported by: 14

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	DefaultConfig = ioc.NewLoadConfigRequest()
)

Functions

func Run

func Run(ctx context.Context) error

Types

type Server

type Server struct {
	ioc.ObjectImpl
	// contains filtered or unexported fields
}

func NewServer

func NewServer() *Server

func SetUp added in v2.0.5

func SetUp(cb func()) *Server

func (*Server) HandleError

func (s *Server) HandleError(err error)

func (*Server) Run added in v2.0.5

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

func (*Server) WithSetUp added in v2.0.5

func (a *Server) WithSetUp(setup func()) *Server

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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