user

package
v0.0.0-...-efa4506 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2018 License: GPL-2.0 Imports: 1 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type User

type User struct {
	Token            string `datastore:""`
	Device           string
	RegistrationDate time.Time
}

User is the user receiving a notification

func NewUser

func NewUser(opts ...string) *User

NewUser creates a new User, where the options can be none or a combination of: one token string and one device type string

Jump to

Keyboard shortcuts

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