Documentation
¶
Index ¶
- Constants
- type Cache
- func (o *Cache) Copy() slim.Object
- func (o *Cache) Equals(x slim.Object) bool
- func (o *Cache) IndexGet(index slim.Object) (res slim.Object, err error)
- func (o *Cache) IndexSet(index, value slim.Object) (err error)
- func (o *Cache) IsFalsy() bool
- func (o *Cache) String() string
- func (o *Cache) TypeName() string
- type DynamicModules
- type ModuleAttr
- type ModuleClass
- type ModuleConst
- type ModuleControl
- type ModuleDevice
- type ModuleDpds
- type ModuleSource
- type ModuleTag
- type Proc
- type SlimOption
- type SlimSlot
- type SourceModule
- type Store
Constants ¶
View Source
const EXEC = "slim"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cache ¶
type Cache struct {
slim.ObjectImpl
// contains filtered or unexported fields
}
type DynamicModules ¶
type DynamicModules struct {
// contains filtered or unexported fields
}
func NewDynamicModules ¶
func NewDynamicModules(ss *SlimSlot, fnID string) *DynamicModules
func (*DynamicModules) Get ¶
func (dm *DynamicModules) Get(name string) slim.Importable
type ModuleAttr ¶
type ModuleAttr struct {
// contains filtered or unexported fields
}
func NewModuleAttr ¶
func NewModuleAttr(ss *SlimSlot) *ModuleAttr
type ModuleClass ¶
type ModuleClass struct {
// contains filtered or unexported fields
}
func NewModuleClass ¶
func NewModuleClass(ss *SlimSlot) *ModuleClass
type ModuleConst ¶
type ModuleConst struct {
// contains filtered or unexported fields
}
func NewModuleConst ¶
func NewModuleConst(ss *SlimSlot) *ModuleConst
type ModuleControl ¶
type ModuleControl struct {
// contains filtered or unexported fields
}
func NewModuleControl ¶
func NewModuleControl(ss *SlimSlot) *ModuleControl
type ModuleDevice ¶
type ModuleDevice struct {
// contains filtered or unexported fields
}
func NewModuleDevice ¶
func NewModuleDevice(ss *SlimSlot) *ModuleDevice
type ModuleDpds ¶
type ModuleDpds struct {
// contains filtered or unexported fields
}
func NewModuleDpds ¶
func NewModuleDpds() *ModuleDpds
func (*ModuleDpds) Add ¶
func (m *ModuleDpds) Add(logicId, procId string)
func (*ModuleDpds) Take ¶
func (m *ModuleDpds) Take(logicId string) map[string]struct{}
type ModuleSource ¶
type ModuleSource struct {
// contains filtered or unexported fields
}
func NewModuleSource ¶
func NewModuleSource(ss *SlimSlot) *ModuleSource
type ModuleTag ¶
type ModuleTag struct {
// contains filtered or unexported fields
}
func NewModuleTag ¶
type SlimOption ¶
type SlimOption interface {
// contains filtered or unexported methods
}
func WithBBolt ¶
func WithBBolt(file string) SlimOption
func WithCacheTTL ¶
func WithCacheTTL(d time.Duration) SlimOption
func WithDebug ¶
func WithDebug(debug bool) SlimOption
func WithTickerInterval ¶
func WithTickerInterval(d time.Duration) SlimOption
type SlimSlot ¶
type SlimSlot struct {
// contains filtered or unexported fields
}
func Slim ¶
func Slim(es *edge.EdgeService, opts ...SlimOption) (*SlimSlot, error)
type SourceModule ¶
type SourceModule struct {
Name string
// contains filtered or unexported fields
}
func (*SourceModule) Import ¶
func (m *SourceModule) Import(name string) (interface{}, error)
Import returns a module source code.
Click to show internal directories.
Click to hide internal directories.