Documentation ¶
Overview ¶
models contains models that relate to client-only concepts, like objects we keep in the internal storage. For models coming from the menshen API Spec, see ../../models
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bridge ¶
type Bridge struct { ID int `storm:"increment"` Name string `storm:"index,unique"` Location string Type string // Raw is the raw JSON serialization of the bridge. We could also use the menshen model as a nested struct. Raw string `storm:"unique"` CreatedAt time.Time `storm:"index"` LastUsed time.Time }
Bridge is a private bridge.
type Introducer ¶
type Introducer struct { ID int `storm:"increment"` Name string `storm:"index,unique"` // URL is the canonical URL. It should be stored after validation and writing in the canonical order, since // we will check for uniqueness. URL string `storm:"unique"` CreatedAt time.Time `storm:"index"` LastUsed time.Time }
Introducer keeps metadata about introducers that the user has added to the Bitmask application. Introducers are expected to be transmitted off-band.
Click to show internal directories.
Click to hide internal directories.