Documentation
¶
Index ¶
- Constants
- Variables
- func Parse(body Body) (string, error)
- func SetFS(fsys fs.FS)
- type Body
- type Config
- type Connection
- type Driver
- type Health
- type Helper
- type Instance
- type Module
- func (m *Module) Close()
- func (m *Module) Config(global Map)
- func (m *Module) Open()
- func (m *Module) Parse(body Body) (string, error)
- func (m *Module) Register(name string, value Any)
- func (m *Module) RegisterConfig(config Config)
- func (m *Module) RegisterDriver(name string, driver Driver)
- func (m *Module) RegisterHelper(name string, helper Helper)
- func (m *Module) Setup()
- func (m *Module) Start()
- func (m *Module) Stop()
Constants ¶
View Source
const (
NAME = "VIEW"
)
Variables ¶
View Source
var (
ErrInvalidConnection = errors.New("invalid view connection")
)
Functions ¶
Types ¶
type Connection ¶ added in v0.7.0
type Driver ¶
type Driver interface {
Connect(*Instance) (Connection, error)
}
type Instance ¶
type Instance struct {
Config Config
Setting Map
// contains filtered or unexported fields
}
type Module ¶
type Module struct {
// contains filtered or unexported fields
}
func (*Module) RegisterConfig ¶ added in v0.7.0
func (*Module) RegisterDriver ¶ added in v0.7.0
func (*Module) RegisterHelper ¶ added in v0.7.0
Click to show internal directories.
Click to hide internal directories.