Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultPlugins = []haleakala.IBasicPlugin{ CookiePlugin{}, CurrentTimePlugin{}, EVEStatusPlugin{}, AboutPlugin{}, WhiskeyPlugin{}, BeerPlugin{}, }
Functions ¶
This section is empty.
Types ¶
type AboutPlugin ¶
type AboutPlugin struct{}
func (AboutPlugin) InstallRoute ¶
func (s AboutPlugin) InstallRoute(f haleakala.InstallFunc) error
func (AboutPlugin) Name ¶
func (s AboutPlugin) Name() string
func (AboutPlugin) OnMessage ¶
func (s AboutPlugin) OnMessage(ctx *muxer.Context)
OnMessage returns an about message
type BeerPlugin ¶
type BeerPlugin struct{}
func (BeerPlugin) InstallRoute ¶
func (s BeerPlugin) InstallRoute(f haleakala.InstallFunc) error
func (BeerPlugin) Name ¶
func (s BeerPlugin) Name() string
func (BeerPlugin) OnMessage ¶
func (s BeerPlugin) OnMessage(ctx *muxer.Context)
type CookiePlugin ¶
type CookiePlugin struct{}
func (CookiePlugin) InstallRoute ¶
func (s CookiePlugin) InstallRoute(f haleakala.InstallFunc) error
func (CookiePlugin) Name ¶
func (s CookiePlugin) Name() string
func (CookiePlugin) OnMessage ¶
func (s CookiePlugin) OnMessage(ctx *muxer.Context)
type CurrentTimePlugin ¶
type CurrentTimePlugin struct{}
func (CurrentTimePlugin) InstallRoute ¶
func (s CurrentTimePlugin) InstallRoute(f haleakala.InstallFunc) error
func (CurrentTimePlugin) Name ¶
func (s CurrentTimePlugin) Name() string
func (CurrentTimePlugin) OnMessage ¶
func (s CurrentTimePlugin) OnMessage(ctx *muxer.Context)
GetCurrentTime simply returns the current time of the server
type EVEStatusPlugin ¶
type EVEStatusPlugin struct{}
func (EVEStatusPlugin) InstallRoute ¶
func (s EVEStatusPlugin) InstallRoute(f haleakala.InstallFunc) error
func (EVEStatusPlugin) Name ¶
func (s EVEStatusPlugin) Name() string
func (EVEStatusPlugin) OnMessage ¶
func (s EVEStatusPlugin) OnMessage(ctx *muxer.Context)
OnMessage returns the status of the cluster
type StatusInto ¶
type WhiskeyPlugin ¶
type WhiskeyPlugin struct{}
func (WhiskeyPlugin) InstallRoute ¶
func (s WhiskeyPlugin) InstallRoute(f haleakala.InstallFunc) error
func (WhiskeyPlugin) Name ¶
func (s WhiskeyPlugin) Name() string
func (WhiskeyPlugin) OnMessage ¶
func (s WhiskeyPlugin) OnMessage(ctx *muxer.Context)
Source Files
¶
Click to show internal directories.
Click to hide internal directories.