plugins

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2018 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

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 StatusInto struct {
	StartTime     time.Time `json:"start_time"`
	Players       int       `json:"players"`
	ServerVersion string    `json:"server_version"`
}

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)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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