server

package
v1.2.7 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultConfig = ioc.NewLoadConfigRequest()

Functions

func Run

func Run(ctx context.Context, lcr *ioc.LoadConfigRequest) error

req := ioc.NewLoadConfigRequest() req.ConfigFile.Enabled = true req.ConfigFile.Path = "/Users/kade.chen/wondorcloud/conf/application.toml"

Types

type Server

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

func NewServer

func NewServer() *Server

func (*Server) Run

func (s *Server) Run(ctx context.Context, lcr *ioc.LoadConfigRequest) error

Jump to

Keyboard shortcuts

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