service

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2019 License: NCSA Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetFilteredUserInfo

func GetFilteredUserInfo(parameters map[string][]string) (*models.FilteredUsers, error)

Returns the users associated with the given parameters

func GetQrInfo

func GetQrInfo(id string) (string, error)

Generates a QR string for a user with the provided ID, as a URI

func GetStats

func GetStats() (map[string]interface{}, error)

Returns all user stats

func GetUserInfo

func GetUserInfo(id string) (*models.UserInfo, error)

Returns the info associated with the given user id

func SetUserInfo

func SetUserInfo(id string, user_info models.UserInfo) error

Set the info associated with the given user id The record will be created if it does not already exist

Types

This section is empty.

Jump to

Keyboard shortcuts

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