server

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2020 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StartServer

func StartServer(port string, token string, mysqlUser string, mysqlPassword string, mainDatabase string, serverDatabase string)

Types

type Controller

type Controller struct {
	// contains filtered or unexported fields
}

func (*Controller) ServeHTTP

func (c *Controller) ServeHTTP(w http.ResponseWriter, r *http.Request)

type SQLDriver

type SQLDriver struct {
	// contains filtered or unexported fields
}

func (*SQLDriver) Clean

func (driver *SQLDriver) Clean()

func (*SQLDriver) GetHeldMessageCount

func (driver *SQLDriver) GetHeldMessageCount() (int, error)

func (*SQLDriver) GetQueueLength

func (driver *SQLDriver) GetQueueLength() (int, error)

Jump to

Keyboard shortcuts

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