models

package
v0.11.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 29, 2022 License: Apache-2.0 Imports: 2 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AECommit

type AECommit struct {
	HexSha      string `gorm:"primaryKey;type:varchar(255)"`
	AnalysisId  string `gorm:"type:varchar(255)"`
	AuthorEmail string `gorm:"type:varchar(255)"`
	DevEq       int
	AEProjectId int
	common.NoPKModel
}

func (AECommit) TableName

func (AECommit) TableName() string

type AEProject

type AEProject struct {
	Id           string `gorm:"primaryKey;type:varchar(255)"`
	GitUrl       string `gorm:"type:varchar(255);comment:url of the repo in github"`
	Priority     int
	AECreateTime *time.Time
	AEUpdateTime *time.Time
	common.NoPKModel
}

func (AEProject) TableName

func (AEProject) TableName() string

type AeConnection

type AeConnection struct {
	AppId    string `mapstructure:"appId" env:"AE_APP_ID" json:"appId"`
	Sign     string `mapstructure:"sign" env:"AE_SIGN" json:"sign"`
	NonceStr string `mapstructure:"nonceStr" env:"AE_NONCE_STR" json:"nonceStr"`
	Endpoint string `mapstructure:"endpoint" env:"AE_ENDPOINT" json:"endpoint"`
}

type AeResponse

type AeResponse struct {
	AeConnection
	Name string `json:"name"`
	ID   int    `json:"id"`
}

This object conforms to what the frontend currently expects.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL