systemservice

package
v0.0.0-...-83d3498 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 11, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type API

type API = pb.API

type APIAllResponse

type APIAllResponse = pb.APIAllResponse

type APIPagingRequest

type APIPagingRequest = pb.APIPagingRequest

type APIPagingResponse

type APIPagingResponse = pb.APIPagingResponse

type ApiID

type ApiID = pb.ApiID

type CasbinEnforceRequest

type CasbinEnforceRequest = pb.CasbinEnforceRequest

type CasbinEnforceResponse

type CasbinEnforceResponse = pb.CasbinEnforceResponse

type CasbinPolicy

type CasbinPolicy = pb.CasbinPolicy

type CasbinPolicyResponse

type CasbinPolicyResponse = pb.CasbinPolicyResponse

type CasbinRule

type CasbinRule = pb.CasbinRule

type CreateAPIRequest

type CreateAPIRequest = pb.CreateAPIRequest

type CreateMenuRequest

type CreateMenuRequest = pb.CreateMenuRequest

type CreateRoleRequest

type CreateRoleRequest = pb.CreateRoleRequest

type CreateUser_UserRoleRequest

type CreateUser_UserRoleRequest = pb.CreateUser_UserRoleRequest

type DeleteAPIAndCasbinRequest

type DeleteAPIAndCasbinRequest = pb.DeleteAPIAndCasbinRequest

type DeleteAPIMultipleAndCasbinRequest

type DeleteAPIMultipleAndCasbinRequest = pb.DeleteAPIMultipleAndCasbinRequest

type DeleteSoftRoleRequest

type DeleteSoftRoleRequest = pb.DeleteSoftRoleRequest

type DeleteSoftUserRequest

type DeleteSoftUserRequest = pb.DeleteSoftUserRequest

type Empty

type Empty = pb.Empty

type LoginRequest

type LoginRequest = pb.LoginRequest

type LoginResponse

type LoginResponse = pb.LoginResponse
type Menu = pb.Menu
type MenuAllResponse = pb.MenuAllResponse
type MenuID = pb.MenuID

type Role

type Role = pb.Role

type RoleAllResponse

type RoleAllResponse = pb.RoleAllResponse

type RoleID

type RoleID = pb.RoleID

type RoleMenu

type RoleMenu = pb.RoleMenu

type RoleMenuResponse

type RoleMenuResponse = pb.RoleMenuResponse

type SystemService

type SystemService interface {
	Login(ctx context.Context, in *LoginRequest, opts ...grpc.CallOption) (*LoginResponse, error)
	// casbin_rule
	CasbinEnforcer(ctx context.Context, in *CasbinEnforceRequest, opts ...grpc.CallOption) (*CasbinEnforceResponse, error)
	RefreshCasbinPolicy(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Empty, error)
	CasbinPolicyByRoleID(ctx context.Context, in *RoleID, opts ...grpc.CallOption) (*CasbinPolicyResponse, error)
	UpdateCasbinPolicy(ctx context.Context, in *UpdateCasbinPolicyRequest, opts ...grpc.CallOption) (*Empty, error)
	// user
	UserDetail(ctx context.Context, in *UserID, opts ...grpc.CallOption) (*User, error)
	UserDetailByName(ctx context.Context, in *UserName, opts ...grpc.CallOption) (*User, error)
	UserPaging(ctx context.Context, in *UserPagingRequest, opts ...grpc.CallOption) (*UserPagingResponse, error)
	UserTotal(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Total, error)
	CreateUser_UserRole(ctx context.Context, in *CreateUser_UserRoleRequest, opts ...grpc.CallOption) (*Empty, error)
	DeleteSoftUser(ctx context.Context, in *DeleteSoftUserRequest, opts ...grpc.CallOption) (*Empty, error)
	DeleteUser(ctx context.Context, in *UserID, opts ...grpc.CallOption) (*Empty, error)
	UpdateUserPassword(ctx context.Context, in *UpdateUserPasswordRequest, opts ...grpc.CallOption) (*Empty, error)
	UpdateUser(ctx context.Context, in *UpdateUserRequest, opts ...grpc.CallOption) (*Empty, error)
	UpdateUserCurrentRole(ctx context.Context, in *UpdateUserCurrentRoleRequest, opts ...grpc.CallOption) (*Empty, error)
	UserPageSet(ctx context.Context, in *UserID, opts ...grpc.CallOption) (*UserPageSetResponse, error)
	UpdateUserPageSet(ctx context.Context, in *UpdateUserPageSetRequest, opts ...grpc.CallOption) (*Empty, error)
	UserMenuParamsByUserID(ctx context.Context, in *UserID, opts ...grpc.CallOption) (*UserMenuParamsResponse, error)
	UserAllMenuParams(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*UserMenuParamsResponse, error)
	UpdateUserMenuParams(ctx context.Context, in *UpdateUserMenuParamsRequest, opts ...grpc.CallOption) (*Empty, error)
	UserRoleByUserID(ctx context.Context, in *UserID, opts ...grpc.CallOption) (*UserRoleResponse, error)
	UpdateUserRole(ctx context.Context, in *UpdateUserRoleRequest, opts ...grpc.CallOption) (*Empty, error)
	RoleDetail(ctx context.Context, in *RoleID, opts ...grpc.CallOption) (*Role, error)
	RoleAll(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*RoleAllResponse, error)
	DeleteRole(ctx context.Context, in *RoleID, opts ...grpc.CallOption) (*Empty, error)
	DeleteSoftRole(ctx context.Context, in *DeleteSoftRoleRequest, opts ...grpc.CallOption) (*Empty, error)
	CreateRole(ctx context.Context, in *CreateRoleRequest, opts ...grpc.CallOption) (*Empty, error)
	UpdateRole(ctx context.Context, in *UpdateRoleRequest, opts ...grpc.CallOption) (*Empty, error)
	MenuDetail(ctx context.Context, in *MenuID, opts ...grpc.CallOption) (*Menu, error)
	MenuAll(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*MenuAllResponse, error)
	CreateMenu(ctx context.Context, in *CreateMenuRequest, opts ...grpc.CallOption) (*Empty, error)
	UpdateMenu(ctx context.Context, in *UpdateMenuRequest, opts ...grpc.CallOption) (*Empty, error)
	DeleteMenu_RoleMenu_UserMenuParam(ctx context.Context, in *MenuID, opts ...grpc.CallOption) (*Empty, error)
	RoleMenuByRoleID(ctx context.Context, in *RoleID, opts ...grpc.CallOption) (*RoleMenuResponse, error)
	UpdateRoleMenus(ctx context.Context, in *UpdateRoleMenusRequest, opts ...grpc.CallOption) (*Empty, error)
	APIDetail(ctx context.Context, in *ApiID, opts ...grpc.CallOption) (*API, error)
	APIAll(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*APIAllResponse, error)
	APIPaging(ctx context.Context, in *APIPagingRequest, opts ...grpc.CallOption) (*APIPagingResponse, error)
	APITotal(ctx context.Context, in *APIPagingRequest, opts ...grpc.CallOption) (*Total, error)
	CreateAPI(ctx context.Context, in *CreateAPIRequest, opts ...grpc.CallOption) (*Empty, error)
	UpdateAPI(ctx context.Context, in *API, opts ...grpc.CallOption) (*Empty, error)
	DeleteAPIAndCasbin(ctx context.Context, in *DeleteAPIAndCasbinRequest, opts ...grpc.CallOption) (*Empty, error)
	DeleteAPIMultipleAndCasbin(ctx context.Context, in *DeleteAPIMultipleAndCasbinRequest, opts ...grpc.CallOption) (*Empty, error)
	Test(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Total, error)
}

func NewSystemService

func NewSystemService(cli zrpc.Client) SystemService

type Total

type Total = pb.Total

type UpdateCasbinPolicyRequest

type UpdateCasbinPolicyRequest = pb.UpdateCasbinPolicyRequest

type UpdateMenuRequest

type UpdateMenuRequest = pb.UpdateMenuRequest

type UpdateRoleMenusRequest

type UpdateRoleMenusRequest = pb.UpdateRoleMenusRequest

type UpdateRoleRequest

type UpdateRoleRequest = pb.UpdateRoleRequest

type UpdateUserCurrentRoleRequest

type UpdateUserCurrentRoleRequest = pb.UpdateUserCurrentRoleRequest

type UpdateUserMenuParamsRequest

type UpdateUserMenuParamsRequest = pb.UpdateUserMenuParamsRequest

type UpdateUserPageSetRequest

type UpdateUserPageSetRequest = pb.UpdateUserPageSetRequest

type UpdateUserPasswordRequest

type UpdateUserPasswordRequest = pb.UpdateUserPasswordRequest

type UpdateUserRequest

type UpdateUserRequest = pb.UpdateUserRequest

type UpdateUserRoleRequest

type UpdateUserRoleRequest = pb.UpdateUserRoleRequest

type User

type User = pb.User

type UserID

type UserID = pb.UserID

type UserMenuParams

type UserMenuParams = pb.UserMenuParams

type UserMenuParamsResponse

type UserMenuParamsResponse = pb.UserMenuParamsResponse

type UserName

type UserName = pb.UserName

type UserPageSetResponse

type UserPageSetResponse = pb.UserPageSetResponse

type UserPagingRequest

type UserPagingRequest = pb.UserPagingRequest

type UserPagingResponse

type UserPagingResponse = pb.UserPagingResponse

type UserRole

type UserRole = pb.UserRole

type UserRoleResponse

type UserRoleResponse = pb.UserRoleResponse

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL