Documentation
¶
Index ¶
- type KernelRuntime
- func (g *KernelRuntime) GetApp() types.IApp
- func (g *KernelRuntime) GetLogger() types.ILogger
- func (g *KernelRuntime) GetName() string
- func (k *KernelRuntime) GetRootContext() context.Context
- func (g *KernelRuntime) GetRunDirectory() string
- func (g *KernelRuntime) GetService(key types.KernelServiceContextKey) types.IKernelService
- func (g *KernelRuntime) GetVersion() string
- func (k *KernelRuntime) Init() error
- func (k *KernelRuntime) ListenAndServe() error
- func (k *KernelRuntime) Register() error
- func (g *KernelRuntime) SetService(service types.IKernelService)
- func (k *KernelRuntime) Start() error
- func (k *KernelRuntime) Stop() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KernelRuntime ¶
type KernelRuntime struct {
// contains filtered or unexported fields
}
func NewKernelRuntime ¶
func NewKernelRuntime(hostedApp types.IApp, hostVersion string) *KernelRuntime
func (*KernelRuntime) GetApp ¶
func (g *KernelRuntime) GetApp() types.IApp
func (*KernelRuntime) GetLogger ¶
func (g *KernelRuntime) GetLogger() types.ILogger
func (*KernelRuntime) GetName ¶
func (g *KernelRuntime) GetName() string
func (*KernelRuntime) GetRootContext ¶
func (k *KernelRuntime) GetRootContext() context.Context
func (*KernelRuntime) GetRunDirectory ¶
func (g *KernelRuntime) GetRunDirectory() string
func (*KernelRuntime) GetService ¶
func (g *KernelRuntime) GetService(key types.KernelServiceContextKey) types.IKernelService
func (*KernelRuntime) GetVersion ¶
func (g *KernelRuntime) GetVersion() string
func (*KernelRuntime) Init ¶
func (k *KernelRuntime) Init() error
func (*KernelRuntime) ListenAndServe ¶
func (k *KernelRuntime) ListenAndServe() error
func (*KernelRuntime) Register ¶
func (k *KernelRuntime) Register() error
func (*KernelRuntime) SetService ¶
func (g *KernelRuntime) SetService(service types.IKernelService)
func (*KernelRuntime) Start ¶
func (k *KernelRuntime) Start() error
func (*KernelRuntime) Stop ¶
func (k *KernelRuntime) Stop() error
Click to show internal directories.
Click to hide internal directories.