chat

package
v0.0.0-...-afa19f5 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2018 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type API

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

API handles api calls

func NewAPI

func NewAPI(root string) *API

NewAPI creates a new API, root should be set to the root url for the API

func (*API) ServeHTTP

func (api *API) ServeHTTP(res http.ResponseWriter, req *http.Request)

type Room

type Room struct {
	Emails []string
}

Jump to

Keyboard shortcuts

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