boot

package
v0.0.10 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(b *Bootstrap) error

Run 启动并运行GieApp

Types

type Bootstrap

type Bootstrap struct {
	Arguments []string
	ServerMF  application.ModuleFactory
	ClientMF  application.ModuleFactory
}

Bootstrap 是 GieApp 的启动器

func Default

func Default() *Bootstrap

Default 新建一个默认的GieApp启动器

type ClientModuleFactory

type ClientModuleFactory struct {
}

func (*ClientModuleFactory) CreateModule

func (*ClientModuleFactory) GetModule

func (inst *ClientModuleFactory) GetModule() application.Module

type ServerModuleFactory

type ServerModuleFactory struct {
}

func (*ServerModuleFactory) CreateModule

func (*ServerModuleFactory) GetModule

func (inst *ServerModuleFactory) GetModule() application.Module

Jump to

Keyboard shortcuts

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