Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BusinessValue ¶
type BusinessValue struct {
EnvId uint32 `json:"envId" gorm:"column:env_id"`
BusinessId uint32 `json:"businessId" gorm:"column:business_id"`
Value string `json:"value" gorm:"column:value"`
Business *Business `json:"business"`
types.BaseModel
}
func (*BusinessValue) MarshalValue ¶
func (bv *BusinessValue) MarshalValue(tp string) (string, error)
type Configure ¶
type Configure struct {
types.BaseModel
ServerId uint32 `json:"serverId" gorm:"server_id"`
EnvId uint32 `json:"envId" gorm:"env_id"`
Content string `json:"content" gorm:"content"`
Version string `json:"version" gorm:"version"`
Format string `json:"format" gorm:"format"`
Description *string `json:"description" gorm:"description"`
}
type Resource ¶
type Resource struct {
Keyword string `json:"keyword" gorm:"column:keyword"`
Fields string `json:"fields" gorm:"column:fields"`
Tag string `json:"tag" gorm:"column:tag"`
Private *bool `json:"private" gorm:"column:private"`
Description *string `json:"description" gorm:"column:description"`
Servers []*Server `json:"servers" gorm:"many2many:resource_server"`
ResourceServers []*ResourceServer `json:"resourceServers"`
types.BaseModel
}
type ResourceServer ¶
type ResourceValue ¶
type Template ¶
type Template struct {
types.BaseModel
ServerId uint32 `json:"serverId" gorm:"column:server_id"`
Content string `json:"content" gorm:"column:content"`
Version string `json:"version" gorm:"column:version"`
IsUse bool `json:"isUse" gorm:"column:is_use"`
Format string `json:"format" gorm:"column:format"`
Description string `json:"description" gorm:"column:description"`
Compare string `json:"compare" gorm:"column:compare"`
}
Click to show internal directories.
Click to hide internal directories.