admin

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2024 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AdminInfoDto

type AdminInfoDto struct {
	Id uint `json:"id"` // badge number - informational only, never read

	// comma separated lists of admin-only flags, allowed choices are convention dependent
	Flags string `json:"flags"` // security, dealer, ...

	// comma separated list of permissions, currently read_all, admin, payments, bans, announcements
	Permissions string `json:"permissions"`

	// comments
	AdminComments string `json:"admin_comments"`

	// Offset to book on the due amount, may be negative. If negative, will offset the highest VAT rates first. If positive, will be added at highest available VAT rate.
	ManualDues int64 `json:"manual_dues"`

	// Description to use for the manual dues booking.
	ManualDuesDescription string `json:"manual_dues_description"`
}

Jump to

Keyboard shortcuts

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