steemitchat

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2016 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const NotifierID = "steemit-chat"
View Source
const VerificationRequestTimeout = 10 * time.Second

Variables

This section is empty.

Functions

func Bind

func Bind(serverCtx *context.Context, root *echo.Group)

Types

type Document

type Document struct {
	OwnerId    bson.ObjectId `json:"-"                  bson:"ownerId,omitempty"`
	NotifierId string        `json:"-"                  bson:"notifierId,omitempty"`
	Enabled    *bool         `json:"enabled,omitempty"  bson:"enabled,omitempty"`
	Settings   *Settings     `json:"settings,omitempty" bson:"settings,omitempty"`
}

func (*Document) Validate

func (doc *Document) Validate() error

type Settings

type Settings struct {
	Username  string `json:"username,omitempty"  bson:"username"`
	UserID    string `json:"userID,omitempty"    bson:"-"`
	AuthToken string `json:"authToken,omitempty" bson:"-"`
}

func (*Settings) Validate

func (settings *Settings) Validate() error

Jump to

Keyboard shortcuts

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