Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ReactConfig ¶
type ReactConfig struct { DSN string `json:"dsn"` NeedsUpgrade bool `json:"needsUpgrade"` Version SentryVersion `json:"version"` Features []string `json:"features"` IsAuthenticated bool `json:"isAuthenticated"` MediaURL string `json:"mediaUrl"` SingleOrganization bool `json:"singleOrganization"` Messages []string `json:"messages"` // TODO double check this URLPrefix string `json:"urlPrefix"` User User `json:"user"` }
ReactConfig .. TODO Consider use *url.URL, *mail.Address instead of string type and use custom JSON marshaller
type SentryVersion ¶
type SentryVersion struct { Current string `json:"current"` // TODO int.int.int Build string `json:"build"` // int.int.int UpgradeAvailable bool `json:"upgradeAvailable"` Latest string `json:"latest"` // int.int.int // contains filtered or unexported fields }
SentryVersion ..
type User ¶
type User struct { // TODO investigate why embedding models.User does not work models.User ID int `db:"id" json:"id,string"` Username string `db:"username" json:"username"` // this column is called first_name for legacy reasons, but it is the entire // display name Name string `db:"first_name" json:"name"` Email string `db:"email" json:"email"` IsSuperuser bool `db:"is_superuser" json:"isSuperuser"` AvatarURL string `json:"avatarUrl"` Options UserOptions `json:"options"` }
User ..
Click to show internal directories.
Click to hide internal directories.