userdb

package
v1.0.11 Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetDMRUsers

func GetDMRUsers() *map[uint]DMRUser

func GetDate added in v1.0.8

func GetDate() time.Time

func IsInDB

func IsInDB(DMRId uint, callsign string) bool

func IsValidUserID

func IsValidUserID(DMRId uint) bool

func Update

func Update() error

Types

type DMRUser

type DMRUser struct {
	ID       uint   `json:"id"`
	State    string `json:"state"`
	RadioID  uint   `json:"radio_id"`
	Surname  string `json:"surname"`
	City     string `json:"city"`
	Callsign string `json:"callsign"`
	Country  string `json:"country"`
	Name     string `json:"name"`
	FName    string `json:"fname"`
}

Jump to

Keyboard shortcuts

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