amember

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AccessBufferDays int
View Source
var ApiKey string
View Source
var ApiRootUrl string
View Source
var ProductCategoryId int

Functions

func GetProductIdsForCategory

func GetProductIdsForCategory(categoryId int) ([]int, error)

func InstallApi

func InstallApi()

func ResyncAllUsers

func ResyncAllUsers()

Types

type User

type User struct {
	Id        int            `json:"user_id"`
	Fob       string         `json:"fob"`
	FobAccess string         `json:"fob_access"`
	Announce  []string       `json:"announce"`
	Nickname  string         `json:"nickname"`
	Nested    usersNestedVal `json:"nested"`
}

func GetAllUsers

func GetAllUsers() ([]User, error)

func GetUser

func GetUser(id int) (User, error)

Jump to

Keyboard shortcuts

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