endpoint

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: May 20, 2019 License: GPL-3.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Serve

func Serve(mgodb *db.Mongodb)

Types

type Counter

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

func NewCounter

func NewCounter(collection *mgo.Collection) *Counter

type Notification

type Notification struct {
	Id     uint64  `json:"id"`
	Date   int64   `json:"date"`
	Jws    string  `json:"jws"`
	ToAddr core.ID `json:"toAddr"`
}

type NotificationMsg

type NotificationMsg struct {
	Jws string `json:"jws" binding:"required"`
}

Jump to

Keyboard shortcuts

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