Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type GithubAccount20220713 ¶
type GithubAccount20220713 struct {
Name string `json:"name" gorm:"type:varchar(255)"`
Company string `json:"company" gorm:"type:varchar(255)"`
Email string `json:"Email" gorm:"type:varchar(255)"`
}
func (GithubAccount20220713) TableName ¶
func (GithubAccount20220713) TableName() string
type GithubAccountOrg20220713 ¶
type GithubAccountOrg20220713 struct {
ConnectionId uint64 `gorm:"primaryKey"`
AccountId int `gorm:"primaryKey;autoIncrement:false"`
OrgId int `gorm:"primaryKey;autoIncrement:false"`
OrgLogin string `json:"org_login" gorm:"type:varchar(255)"`
archived.NoPKModel
}
func (GithubAccountOrg20220713) TableName ¶
func (GithubAccountOrg20220713) TableName() string
type GithubConnection ¶
type GithubConnection struct {
commonArchived.Model
Name string `gorm:"type:varchar(100);uniqueIndex" json:"name" validate:"required"`
Endpoint string `mapstructure:"endpoint" env:"GITHUB_ENDPOINT" validate:"required"`
Proxy string `mapstructure:"proxy" env:"GITHUB_PROXY"`
RateLimitPerHour int `comment:"api request rate limit per hour"`
Token string `mapstructure:"token" env:"GITHUB_AUTH" validate:"required" encrypt:"yes"`
}
func (GithubConnection) TableName ¶
func (GithubConnection) TableName() string
type GithubRepoAccount20220713 ¶
type GithubRepoAccount20220713 struct {
ConnectionId uint64 `gorm:"primaryKey"`
AccountId int `gorm:"primaryKey;autoIncrement:false"`
RepoGithubId int `gorm:"primaryKey;autoIncrement:false"`
Login string `json:"login" gorm:"type:varchar(255)"`
archived.NoPKModel
}
func (GithubRepoAccount20220713) TableName ¶
func (GithubRepoAccount20220713) TableName() string
Source Files
¶
Click to show internal directories.
Click to hide internal directories.