bootstrap

package
v1.0.11 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2024 License: MIT Imports: 15 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init(confPath string, load func() error) (err error)

Types

type App

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

func NewApp

func NewApp(srv server.Server, opts ...OptionFunc) *App

func (*App) Start

func (a *App) Start() error

type Option

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

type OptionFunc

type OptionFunc func(*Option)

func WithRegistrar

func WithRegistrar(r registry.Registrar) OptionFunc

Jump to

Keyboard shortcuts

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