Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var APP *pocketbase.PocketBase
View Source
var Log *log.Logger
View Source
var SECRET string
View Source
var VPN_DRIVER_URL string
Functions ¶
func DeviceBeforeCreate ¶
func DeviceBeforeCreate(e *core.ModelEvent) error
func DeviceBeforeDelete ¶
func DeviceBeforeDelete(e *core.ModelEvent) error
func DeviceBeforeUpdate ¶
func DeviceBeforeUpdate(e *core.ModelEvent) error
func Init ¶
func Init(app *pocketbase.PocketBase, secret string)
Types ¶
type Device_Create ¶
type Device_Create struct {
ZTAddress string `json:"zt_address"`
}
type Device_Delete ¶
type Device_Delete struct {
ZTAddress string `json:"zt_address"`
}
type Device_Update ¶
Click to show internal directories.
Click to hide internal directories.