Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type FindPermitResp ¶
type FindPermitResp struct { ID string `json:"id"` RoleID string `json:"roleID"` Path string `json:"path"` Params models.FiledPermit `json:"params"` Response models.FiledPermit `json:"response"` Condition models.Condition `json:"condition"` Methods string `json:"methods"` ResponseAll bool `json:"responseAll"` ParamsAll bool `json:"paramsAll"` }
type Form ¶
type Form struct {
// contains filtered or unexported fields
}
func (*Form) GetCacheMatchRole ¶
type GetMatchRoleResp ¶
type SaveRoleUsersResp ¶
type SaveRoleUsersResp struct { }
type SearchAPI ¶
type SearchAPI interface {
Subordinate(ctx context.Context, userID string) (*SubordinateResp, error)
}
SearchAPI SearchAPI
func NewSearchAPI ¶
type SubordinateResp ¶
type SubordinateResp struct { Users []*users `json:"users"` Total int64 `json:"total"` }
Click to show internal directories.
Click to hide internal directories.