Documentation ¶
Index ¶
- type ApiInfo
- type ApiListReq
- type ApiListResp
- type BaseIDResp
- type BaseMsg
- type BaseResp
- type BaseUUIDResp
- type CallbackReq
- type ConfigurationInfo
- type ConfigurationListReq
- type ConfigurationListResp
- type Core
- type DepartmentInfo
- type DepartmentListReq
- type DepartmentListResp
- type DictionaryDetailInfo
- type DictionaryDetailListReq
- type DictionaryDetailListResp
- type DictionaryInfo
- type DictionaryListReq
- type DictionaryListResp
- type Empty
- type IDReq
- type IDsReq
- type MenuInfo
- type MenuInfoList
- type MenuRoleInfo
- type MenuRoleListResp
- type Meta
- type OauthLoginReq
- type OauthProviderInfo
- type OauthProviderListReq
- type OauthProviderListResp
- type OauthRedirectResp
- type PageInfoReq
- type PositionInfo
- type PositionListReq
- type PositionListResp
- type RoleInfo
- type RoleListReq
- type RoleListResp
- type RoleMenuAuthorityReq
- type RoleMenuAuthorityResp
- type TokenInfo
- type TokenListReq
- type TokenListResp
- type UUIDReq
- type UUIDsReq
- type UserInfo
- type UserListReq
- type UserListResp
- type UsernameReq
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApiListReq ¶ added in v0.2.3
type ApiListReq = core.ApiListReq
type ApiListResp ¶
type ApiListResp = core.ApiListResp
type BaseIDResp ¶ added in v0.2.5
type BaseIDResp = core.BaseIDResp
type BaseUUIDResp ¶ added in v0.2.5
type BaseUUIDResp = core.BaseUUIDResp
type CallbackReq ¶ added in v0.0.8
type CallbackReq = core.CallbackReq
type ConfigurationInfo ¶ added in v1.5.1
type ConfigurationInfo = core.ConfigurationInfo
type ConfigurationListReq ¶ added in v1.5.1
type ConfigurationListReq = core.ConfigurationListReq
type ConfigurationListResp ¶ added in v1.5.1
type ConfigurationListResp = core.ConfigurationListResp
type Core ¶
type Core interface { // API management CreateApi(ctx context.Context, in *ApiInfo, opts ...grpc.CallOption) (*BaseIDResp, error) UpdateApi(ctx context.Context, in *ApiInfo, opts ...grpc.CallOption) (*BaseResp, error) GetApiList(ctx context.Context, in *ApiListReq, opts ...grpc.CallOption) (*ApiListResp, error) GetApiById(ctx context.Context, in *IDReq, opts ...grpc.CallOption) (*ApiInfo, error) DeleteApi(ctx context.Context, in *IDsReq, opts ...grpc.CallOption) (*BaseResp, error) GetMenuAuthority(ctx context.Context, in *IDReq, opts ...grpc.CallOption) (*RoleMenuAuthorityResp, error) CreateOrUpdateMenuAuthority(ctx context.Context, in *RoleMenuAuthorityReq, opts ...grpc.CallOption) (*BaseResp, error) InitDatabase(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*BaseResp, error) // Configuration management CreateConfiguration(ctx context.Context, in *ConfigurationInfo, opts ...grpc.CallOption) (*BaseIDResp, error) UpdateConfiguration(ctx context.Context, in *ConfigurationInfo, opts ...grpc.CallOption) (*BaseResp, error) GetConfigurationList(ctx context.Context, in *ConfigurationListReq, opts ...grpc.CallOption) (*ConfigurationListResp, error) GetConfigurationById(ctx context.Context, in *IDReq, opts ...grpc.CallOption) (*ConfigurationInfo, error) DeleteConfiguration(ctx context.Context, in *IDsReq, opts ...grpc.CallOption) (*BaseResp, error) // Department management CreateDepartment(ctx context.Context, in *DepartmentInfo, opts ...grpc.CallOption) (*BaseIDResp, error) UpdateDepartment(ctx context.Context, in *DepartmentInfo, opts ...grpc.CallOption) (*BaseResp, error) GetDepartmentList(ctx context.Context, in *DepartmentListReq, opts ...grpc.CallOption) (*DepartmentListResp, error) GetDepartmentById(ctx context.Context, in *IDReq, opts ...grpc.CallOption) (*DepartmentInfo, error) DeleteDepartment(ctx context.Context, in *IDsReq, opts ...grpc.CallOption) (*BaseResp, error) // Dictionary management CreateDictionary(ctx context.Context, in *DictionaryInfo, opts ...grpc.CallOption) (*BaseIDResp, error) UpdateDictionary(ctx context.Context, in *DictionaryInfo, opts ...grpc.CallOption) (*BaseResp, error) GetDictionaryList(ctx context.Context, in *DictionaryListReq, opts ...grpc.CallOption) (*DictionaryListResp, error) GetDictionaryById(ctx context.Context, in *IDReq, opts ...grpc.CallOption) (*DictionaryInfo, error) DeleteDictionary(ctx context.Context, in *IDsReq, opts ...grpc.CallOption) (*BaseResp, error) // DictionaryDetail management CreateDictionaryDetail(ctx context.Context, in *DictionaryDetailInfo, opts ...grpc.CallOption) (*BaseIDResp, error) UpdateDictionaryDetail(ctx context.Context, in *DictionaryDetailInfo, opts ...grpc.CallOption) (*BaseResp, error) GetDictionaryDetailList(ctx context.Context, in *DictionaryDetailListReq, opts ...grpc.CallOption) (*DictionaryDetailListResp, error) GetDictionaryDetailById(ctx context.Context, in *IDReq, opts ...grpc.CallOption) (*DictionaryDetailInfo, error) DeleteDictionaryDetail(ctx context.Context, in *IDsReq, opts ...grpc.CallOption) (*BaseResp, error) GetDictionaryDetailByDictionaryName(ctx context.Context, in *BaseMsg, opts ...grpc.CallOption) (*DictionaryDetailListResp, error) CreateMenu(ctx context.Context, in *MenuInfo, opts ...grpc.CallOption) (*BaseIDResp, error) UpdateMenu(ctx context.Context, in *MenuInfo, opts ...grpc.CallOption) (*BaseResp, error) DeleteMenu(ctx context.Context, in *IDReq, opts ...grpc.CallOption) (*BaseResp, error) GetMenuListByRole(ctx context.Context, in *BaseMsg, opts ...grpc.CallOption) (*MenuInfoList, error) GetMenuList(ctx context.Context, in *PageInfoReq, opts ...grpc.CallOption) (*MenuInfoList, error) // OauthProvider management CreateOauthProvider(ctx context.Context, in *OauthProviderInfo, opts ...grpc.CallOption) (*BaseIDResp, error) UpdateOauthProvider(ctx context.Context, in *OauthProviderInfo, opts ...grpc.CallOption) (*BaseResp, error) GetOauthProviderList(ctx context.Context, in *OauthProviderListReq, opts ...grpc.CallOption) (*OauthProviderListResp, error) GetOauthProviderById(ctx context.Context, in *IDReq, opts ...grpc.CallOption) (*OauthProviderInfo, error) DeleteOauthProvider(ctx context.Context, in *IDsReq, opts ...grpc.CallOption) (*BaseResp, error) OauthLogin(ctx context.Context, in *OauthLoginReq, opts ...grpc.CallOption) (*OauthRedirectResp, error) OauthCallback(ctx context.Context, in *CallbackReq, opts ...grpc.CallOption) (*UserInfo, error) // Position management CreatePosition(ctx context.Context, in *PositionInfo, opts ...grpc.CallOption) (*BaseIDResp, error) UpdatePosition(ctx context.Context, in *PositionInfo, opts ...grpc.CallOption) (*BaseResp, error) GetPositionList(ctx context.Context, in *PositionListReq, opts ...grpc.CallOption) (*PositionListResp, error) GetPositionById(ctx context.Context, in *IDReq, opts ...grpc.CallOption) (*PositionInfo, error) DeletePosition(ctx context.Context, in *IDsReq, opts ...grpc.CallOption) (*BaseResp, error) // Role management CreateRole(ctx context.Context, in *RoleInfo, opts ...grpc.CallOption) (*BaseIDResp, error) UpdateRole(ctx context.Context, in *RoleInfo, opts ...grpc.CallOption) (*BaseResp, error) GetRoleList(ctx context.Context, in *RoleListReq, opts ...grpc.CallOption) (*RoleListResp, error) GetRoleById(ctx context.Context, in *IDReq, opts ...grpc.CallOption) (*RoleInfo, error) DeleteRole(ctx context.Context, in *IDsReq, opts ...grpc.CallOption) (*BaseResp, error) // Token management CreateToken(ctx context.Context, in *TokenInfo, opts ...grpc.CallOption) (*BaseUUIDResp, error) DeleteToken(ctx context.Context, in *UUIDsReq, opts ...grpc.CallOption) (*BaseResp, error) GetTokenList(ctx context.Context, in *TokenListReq, opts ...grpc.CallOption) (*TokenListResp, error) GetTokenById(ctx context.Context, in *UUIDReq, opts ...grpc.CallOption) (*TokenInfo, error) BlockUserAllToken(ctx context.Context, in *UUIDReq, opts ...grpc.CallOption) (*BaseResp, error) UpdateToken(ctx context.Context, in *TokenInfo, opts ...grpc.CallOption) (*BaseResp, error) // User management CreateUser(ctx context.Context, in *UserInfo, opts ...grpc.CallOption) (*BaseUUIDResp, error) UpdateUser(ctx context.Context, in *UserInfo, opts ...grpc.CallOption) (*BaseResp, error) GetUserList(ctx context.Context, in *UserListReq, opts ...grpc.CallOption) (*UserListResp, error) GetUserById(ctx context.Context, in *UUIDReq, opts ...grpc.CallOption) (*UserInfo, error) GetUserByUsername(ctx context.Context, in *UsernameReq, opts ...grpc.CallOption) (*UserInfo, error) DeleteUser(ctx context.Context, in *UUIDsReq, opts ...grpc.CallOption) (*BaseResp, error) }
type DepartmentInfo ¶ added in v0.2.3
type DepartmentInfo = core.DepartmentInfo
type DepartmentListReq ¶ added in v0.2.3
type DepartmentListReq = core.DepartmentListReq
type DepartmentListResp ¶ added in v0.2.3
type DepartmentListResp = core.DepartmentListResp
type DictionaryDetailInfo ¶ added in v0.2.4
type DictionaryDetailInfo = core.DictionaryDetailInfo
type DictionaryDetailListReq ¶ added in v0.2.4
type DictionaryDetailListReq = core.DictionaryDetailListReq
type DictionaryDetailListResp ¶ added in v0.2.4
type DictionaryDetailListResp = core.DictionaryDetailListResp
type DictionaryInfo ¶ added in v0.0.7
type DictionaryInfo = core.DictionaryInfo
type DictionaryListReq ¶ added in v0.2.3
type DictionaryListReq = core.DictionaryListReq
type DictionaryListResp ¶ added in v0.2.4
type DictionaryListResp = core.DictionaryListResp
type MenuInfoList ¶
type MenuInfoList = core.MenuInfoList
type MenuRoleInfo ¶
type MenuRoleInfo = core.MenuRoleInfo
type MenuRoleListResp ¶
type MenuRoleListResp = core.MenuRoleListResp
type OauthLoginReq ¶ added in v0.0.8
type OauthLoginReq = core.OauthLoginReq
type OauthProviderInfo ¶ added in v0.2.4
type OauthProviderInfo = core.OauthProviderInfo
type OauthProviderListReq ¶ added in v0.2.4
type OauthProviderListReq = core.OauthProviderListReq
type OauthProviderListResp ¶ added in v0.2.4
type OauthProviderListResp = core.OauthProviderListResp
type OauthRedirectResp ¶ added in v0.0.8
type OauthRedirectResp = core.OauthRedirectResp
type PageInfoReq ¶
type PageInfoReq = core.PageInfoReq
type PositionInfo ¶ added in v0.2.3
type PositionInfo = core.PositionInfo
type PositionListReq ¶ added in v0.2.3
type PositionListReq = core.PositionListReq
type PositionListResp ¶ added in v0.2.3
type PositionListResp = core.PositionListResp
type RoleListReq ¶ added in v0.2.4
type RoleListReq = core.RoleListReq
type RoleListResp ¶
type RoleListResp = core.RoleListResp
type RoleMenuAuthorityReq ¶
type RoleMenuAuthorityReq = core.RoleMenuAuthorityReq
type RoleMenuAuthorityResp ¶
type RoleMenuAuthorityResp = core.RoleMenuAuthorityResp
type TokenListReq ¶ added in v0.1.1
type TokenListReq = core.TokenListReq
type TokenListResp ¶ added in v0.1.1
type TokenListResp = core.TokenListResp
type UserListReq ¶ added in v0.2.4
type UserListReq = core.UserListReq
type UserListResp ¶
type UserListResp = core.UserListResp
type UsernameReq ¶ added in v0.2.4
type UsernameReq = core.UsernameReq
Click to show internal directories.
Click to hide internal directories.