Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthPlugin ¶
type HarukaAppEngine ¶
type HarukaAppEngine struct { ConfigProvider *config.Provider Plugins []HarukaPlugin LoggerPlugin *youlog.Plugin HttpService *haruka.Engine RPCService *rpc.HarukaRPCService OnPluginInitComplete func() }
func NewHarukaAppEngine ¶
func NewHarukaAppEngine() *HarukaAppEngine
func (*HarukaAppEngine) Run ¶
func (e *HarukaAppEngine) Run()
func (*HarukaAppEngine) RunRPC ¶
func (e *HarukaAppEngine) RunRPC()
func (*HarukaAppEngine) UsePlugin ¶
func (e *HarukaAppEngine) UsePlugin(plugins ...HarukaPlugin)
type HarukaPlugin ¶
type HarukaPlugin interface {
OnInit(e *HarukaAppEngine) error
}
Click to show internal directories.
Click to hide internal directories.