Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DB *gorm.DB
Functions ¶
Types ¶
type AssignedRules ¶
type HTTPMethod ¶
type MetaLocation ¶
type Rule ¶
type Rule struct {
gorm.Model `yaml:"-"`
Path string `gorm:"index;not null" json:"path" yaml:"Path"`
MetaKey string `json:"meta_key" yaml:"MetaKey"`
PathPrefix bool `gorm:"default:false" json:"path_prefix" yaml:"path_prefix"`
MetaLocationID uint `json:"meta_location_id" yaml:"MetaLocationID"`
MetaLocation MetaLocation `gorm:"constraint:OnDelete:CASCADE;" yaml:"-"`
HTTPMethodID uint `json:"http_method_id" yaml:"HTTPMethodID"`
HTTPMethod HTTPMethod `gorm:"constraint:OnDelete:CASCADE;" yaml:"-"`
}
Click to show internal directories.
Click to hide internal directories.