state

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2016 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Event

type Event struct {
	Id string `json:"id"`
}

type State

type State interface {
	RecordLastEvent(Event) error
	GetLastEvent() (Event, bool, error)

	RecordUserImageURL(username, url string) error
	GetUserImageURL(username string) (string, bool, error)
}

func New

func New(cfg config.StateConfig) (State, error)

Jump to

Keyboard shortcuts

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