MCPcopy Create free account
hub / github.com/davecheney/pub / Application

Struct Application

models/application.go:7–18  ·  view source on GitHub ↗

An Application is a registered client application. An Application belongs to an Instance.

Source from the content-addressed store, hash-verified

5// An Application is a registered client application.
6// An Application belongs to an Instance.
7type Application struct {
8 snowflake.ID `gorm:"primarykey;autoIncrement:false"`
9 InstanceID snowflake.ID
10 Instance *Instance `gorm:"constraint:OnDelete:CASCADE;<-:false;"`
11 Name string `gorm:"size:255;not null"`
12 Website string `gorm:"size:255"`
13 RedirectURI string `gorm:"size:255;not null"`
14 ClientID string `gorm:"size:255;not null"`
15 ClientSecret string `gorm:"size:255;not null"`
16 VapidKey string `gorm:"size:255;not null"`
17 Scopes string `gorm:"size:255;not null;default:''"`
18}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected