Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CacheConfig ¶ added in v1.2.1
type Config ¶
type Config struct { Endpoint string `json:"endpoint"` RoleTable TableConfig `json:"roleTable"` UserTable TableConfig `json:"userTable"` Cache CacheConfig `json:"cache"` }
type Role ¶ added in v1.2.1
type Role struct { Id string `column:"ID,pk" json:"id" tree:"ParentId+Children"` CreateBY string `column:"CREATE_BY,acb" json:"createBY"` CreateAT sql.NullDatetime `column:"CREATE_AT,act" json:"createAT"` ModifyBY string `column:"MODIFY_BY,amb" json:"modifyBY"` ModifyAT sql.NullDatetime `column:"MODIFY_AT,amt" json:"modifyAT"` Version int64 `column:"VERSION,aol" json:"version"` Name string `column:"NAME" json:"name"` Description string `column:"DESCRIPTION" json:"description"` ParentId string `column:"PARENT_ID" json:"parentId"` Policies []Policy `column:"POLICIES,json" json:"policies"` }
type TableConfig ¶ added in v1.2.1
Click to show internal directories.
Click to hide internal directories.