Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Auth ¶
type Auth struct { AuthID int64 `json:"auth_id"` System string `json:"-"` AuthName string `json:"auth_name"` AuthFlag string `json:"auth_flag"` CTime time.Time `json:"-"` MTime time.Time `json:"-"` }
Auth for manager.
type Model ¶
type Model struct { ModelID int64 `json:"model_id"` System string `json:"-"` ModelName string `json:"model_name"` ModelFlag string `json:"model_flag"` HasDependence bool `json:"has_dependence"` GitURL string `json:"git_url"` Count int64 `json:"count"` CTime time.Time `json:"-"` MTime time.Time `json:"-"` }
Model for manager.
type Role ¶
type Role struct { RoleID int64 `json:"role_id"` System string `json:"-"` RoleName string `json:"role_name"` Auths map[string]*Auth `json:"auths"` Models map[string]*Model `json:"models"` CTime time.Time `json:"-"` MTime time.Time `json:"-"` }
Role for manager.
Click to show internal directories.
Click to hide internal directories.