pb

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: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_doc_systemAdmin_proto protoreflect.FileDescriptor
View Source
var SystemService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "pb.SystemService",
	HandlerType: (*SystemServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Login",
			Handler:    _SystemService_Login_Handler,
		},
		{
			MethodName: "CasbinEnforcer",
			Handler:    _SystemService_CasbinEnforcer_Handler,
		},
		{
			MethodName: "RefreshCasbinPolicy",
			Handler:    _SystemService_RefreshCasbinPolicy_Handler,
		},
		{
			MethodName: "CasbinPolicyByRoleID",
			Handler:    _SystemService_CasbinPolicyByRoleID_Handler,
		},
		{
			MethodName: "UpdateCasbinPolicy",
			Handler:    _SystemService_UpdateCasbinPolicy_Handler,
		},
		{
			MethodName: "UserDetail",
			Handler:    _SystemService_UserDetail_Handler,
		},
		{
			MethodName: "UserDetailByName",
			Handler:    _SystemService_UserDetailByName_Handler,
		},
		{
			MethodName: "UserPaging",
			Handler:    _SystemService_UserPaging_Handler,
		},
		{
			MethodName: "UserTotal",
			Handler:    _SystemService_UserTotal_Handler,
		},
		{
			MethodName: "CreateUser_UserRole",
			Handler:    _SystemService_CreateUser_UserRole_Handler,
		},
		{
			MethodName: "DeleteSoftUser",
			Handler:    _SystemService_DeleteSoftUser_Handler,
		},
		{
			MethodName: "DeleteUser",
			Handler:    _SystemService_DeleteUser_Handler,
		},
		{
			MethodName: "UpdateUserPassword",
			Handler:    _SystemService_UpdateUserPassword_Handler,
		},
		{
			MethodName: "UpdateUser",
			Handler:    _SystemService_UpdateUser_Handler,
		},
		{
			MethodName: "UpdateUserCurrentRole",
			Handler:    _SystemService_UpdateUserCurrentRole_Handler,
		},
		{
			MethodName: "UserPageSet",
			Handler:    _SystemService_UserPageSet_Handler,
		},
		{
			MethodName: "UpdateUserPageSet",
			Handler:    _SystemService_UpdateUserPageSet_Handler,
		},
		{
			MethodName: "UserMenuParamsByUserID",
			Handler:    _SystemService_UserMenuParamsByUserID_Handler,
		},
		{
			MethodName: "UserAllMenuParams",
			Handler:    _SystemService_UserAllMenuParams_Handler,
		},
		{
			MethodName: "UpdateUserMenuParams",
			Handler:    _SystemService_UpdateUserMenuParams_Handler,
		},
		{
			MethodName: "UserRoleByUserID",
			Handler:    _SystemService_UserRoleByUserID_Handler,
		},
		{
			MethodName: "UpdateUserRole",
			Handler:    _SystemService_UpdateUserRole_Handler,
		},
		{
			MethodName: "RoleDetail",
			Handler:    _SystemService_RoleDetail_Handler,
		},
		{
			MethodName: "RoleAll",
			Handler:    _SystemService_RoleAll_Handler,
		},
		{
			MethodName: "DeleteRole",
			Handler:    _SystemService_DeleteRole_Handler,
		},
		{
			MethodName: "DeleteSoftRole",
			Handler:    _SystemService_DeleteSoftRole_Handler,
		},
		{
			MethodName: "CreateRole",
			Handler:    _SystemService_CreateRole_Handler,
		},
		{
			MethodName: "UpdateRole",
			Handler:    _SystemService_UpdateRole_Handler,
		},
		{
			MethodName: "MenuDetail",
			Handler:    _SystemService_MenuDetail_Handler,
		},
		{
			MethodName: "MenuAll",
			Handler:    _SystemService_MenuAll_Handler,
		},
		{
			MethodName: "CreateMenu",
			Handler:    _SystemService_CreateMenu_Handler,
		},
		{
			MethodName: "UpdateMenu",
			Handler:    _SystemService_UpdateMenu_Handler,
		},
		{
			MethodName: "DeleteMenu_RoleMenu_UserMenuParam",
			Handler:    _SystemService_DeleteMenu_RoleMenu_UserMenuParam_Handler,
		},
		{
			MethodName: "RoleMenuByRoleID",
			Handler:    _SystemService_RoleMenuByRoleID_Handler,
		},
		{
			MethodName: "UpdateRoleMenus",
			Handler:    _SystemService_UpdateRoleMenus_Handler,
		},
		{
			MethodName: "APIDetail",
			Handler:    _SystemService_APIDetail_Handler,
		},
		{
			MethodName: "APIAll",
			Handler:    _SystemService_APIAll_Handler,
		},
		{
			MethodName: "APIPaging",
			Handler:    _SystemService_APIPaging_Handler,
		},
		{
			MethodName: "APITotal",
			Handler:    _SystemService_APITotal_Handler,
		},
		{
			MethodName: "CreateAPI",
			Handler:    _SystemService_CreateAPI_Handler,
		},
		{
			MethodName: "UpdateAPI",
			Handler:    _SystemService_UpdateAPI_Handler,
		},
		{
			MethodName: "DeleteAPIAndCasbin",
			Handler:    _SystemService_DeleteAPIAndCasbin_Handler,
		},
		{
			MethodName: "DeleteAPIMultipleAndCasbin",
			Handler:    _SystemService_DeleteAPIMultipleAndCasbin_Handler,
		},
		{
			MethodName: "Test",
			Handler:    _SystemService_Test_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "doc/systemAdmin.proto",
}

SystemService_ServiceDesc is the grpc.ServiceDesc for SystemService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterSystemServiceServer

func RegisterSystemServiceServer(s grpc.ServiceRegistrar, srv SystemServiceServer)

Types

type API

type API struct {
	ID       uint64 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
	API      string `protobuf:"bytes,2,opt,name=API,proto3" json:"API,omitempty"`
	Group    string `protobuf:"bytes,3,opt,name=Group,proto3" json:"Group,omitempty"`
	Describe string `protobuf:"bytes,4,opt,name=Describe,proto3" json:"Describe,omitempty"`
	Method   string `protobuf:"bytes,5,opt,name=Method,proto3" json:"Method,omitempty"`
	// contains filtered or unexported fields
}

api模型

func (*API) Descriptor deprecated

func (*API) Descriptor() ([]byte, []int)

Deprecated: Use API.ProtoReflect.Descriptor instead.

func (*API) GetAPI

func (x *API) GetAPI() string

func (*API) GetDescribe

func (x *API) GetDescribe() string

func (*API) GetGroup

func (x *API) GetGroup() string

func (*API) GetID

func (x *API) GetID() uint64

func (*API) GetMethod

func (x *API) GetMethod() string

func (*API) ProtoMessage

func (*API) ProtoMessage()

func (*API) ProtoReflect

func (x *API) ProtoReflect() protoreflect.Message

func (*API) Reset

func (x *API) Reset()

func (*API) String

func (x *API) String() string

type APIAllResponse

type APIAllResponse struct {
	APIs []*API `protobuf:"bytes,1,rep,name=APIs,proto3" json:"APIs,omitempty"`
	// contains filtered or unexported fields
}

func (*APIAllResponse) Descriptor deprecated

func (*APIAllResponse) Descriptor() ([]byte, []int)

Deprecated: Use APIAllResponse.ProtoReflect.Descriptor instead.

func (*APIAllResponse) GetAPIs

func (x *APIAllResponse) GetAPIs() []*API

func (*APIAllResponse) ProtoMessage

func (*APIAllResponse) ProtoMessage()

func (*APIAllResponse) ProtoReflect

func (x *APIAllResponse) ProtoReflect() protoreflect.Message

func (*APIAllResponse) Reset

func (x *APIAllResponse) Reset()

func (*APIAllResponse) String

func (x *APIAllResponse) String() string

type APIPagingRequest

type APIPagingRequest struct {
	Page     int64  `protobuf:"varint,1,opt,name=Page,proto3" json:"Page,omitempty"`
	PageSize int64  `protobuf:"varint,2,opt,name=PageSize,proto3" json:"PageSize,omitempty"`
	OrderKey string `protobuf:"bytes,3,opt,name=OrderKey,proto3" json:"OrderKey,omitempty"`
	Order    string `protobuf:"bytes,4,opt,name=Order,proto3" json:"Order,omitempty"`
	Api      string `protobuf:"bytes,5,opt,name=Api,proto3" json:"Api,omitempty"`
	Describe string `protobuf:"bytes,6,opt,name=Describe,proto3" json:"Describe,omitempty"`
	Group    string `protobuf:"bytes,7,opt,name=Group,proto3" json:"Group,omitempty"`
	Method   string `protobuf:"bytes,8,opt,name=Method,proto3" json:"Method,omitempty"`
	// contains filtered or unexported fields
}

func (*APIPagingRequest) Descriptor deprecated

func (*APIPagingRequest) Descriptor() ([]byte, []int)

Deprecated: Use APIPagingRequest.ProtoReflect.Descriptor instead.

func (*APIPagingRequest) GetApi

func (x *APIPagingRequest) GetApi() string

func (*APIPagingRequest) GetDescribe

func (x *APIPagingRequest) GetDescribe() string

func (*APIPagingRequest) GetGroup

func (x *APIPagingRequest) GetGroup() string

func (*APIPagingRequest) GetMethod

func (x *APIPagingRequest) GetMethod() string

func (*APIPagingRequest) GetOrder

func (x *APIPagingRequest) GetOrder() string

func (*APIPagingRequest) GetOrderKey

func (x *APIPagingRequest) GetOrderKey() string

func (*APIPagingRequest) GetPage

func (x *APIPagingRequest) GetPage() int64

func (*APIPagingRequest) GetPageSize

func (x *APIPagingRequest) GetPageSize() int64

func (*APIPagingRequest) ProtoMessage

func (*APIPagingRequest) ProtoMessage()

func (*APIPagingRequest) ProtoReflect

func (x *APIPagingRequest) ProtoReflect() protoreflect.Message

func (*APIPagingRequest) Reset

func (x *APIPagingRequest) Reset()

func (*APIPagingRequest) String

func (x *APIPagingRequest) String() string

type APIPagingResponse

type APIPagingResponse struct {
	APIs []*API `protobuf:"bytes,2,rep,name=APIs,proto3" json:"APIs,omitempty"`
	// contains filtered or unexported fields
}

func (*APIPagingResponse) Descriptor deprecated

func (*APIPagingResponse) Descriptor() ([]byte, []int)

Deprecated: Use APIPagingResponse.ProtoReflect.Descriptor instead.

func (*APIPagingResponse) GetAPIs

func (x *APIPagingResponse) GetAPIs() []*API

func (*APIPagingResponse) ProtoMessage

func (*APIPagingResponse) ProtoMessage()

func (*APIPagingResponse) ProtoReflect

func (x *APIPagingResponse) ProtoReflect() protoreflect.Message

func (*APIPagingResponse) Reset

func (x *APIPagingResponse) Reset()

func (*APIPagingResponse) String

func (x *APIPagingResponse) String() string

type ApiID

type ApiID struct {
	ID uint64 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
	// contains filtered or unexported fields
}

func (*ApiID) Descriptor deprecated

func (*ApiID) Descriptor() ([]byte, []int)

Deprecated: Use ApiID.ProtoReflect.Descriptor instead.

func (*ApiID) GetID

func (x *ApiID) GetID() uint64

func (*ApiID) ProtoMessage

func (*ApiID) ProtoMessage()

func (*ApiID) ProtoReflect

func (x *ApiID) ProtoReflect() protoreflect.Message

func (*ApiID) Reset

func (x *ApiID) Reset()

func (*ApiID) String

func (x *ApiID) String() string

type CasbinEnforceRequest

type CasbinEnforceRequest struct {
	Sub string `protobuf:"bytes,1,opt,name=Sub,proto3" json:"Sub,omitempty"`
	Obj string `protobuf:"bytes,2,opt,name=Obj,proto3" json:"Obj,omitempty"`
	Act string `protobuf:"bytes,3,opt,name=Act,proto3" json:"Act,omitempty"`
	// contains filtered or unexported fields
}

func (*CasbinEnforceRequest) Descriptor deprecated

func (*CasbinEnforceRequest) Descriptor() ([]byte, []int)

Deprecated: Use CasbinEnforceRequest.ProtoReflect.Descriptor instead.

func (*CasbinEnforceRequest) GetAct

func (x *CasbinEnforceRequest) GetAct() string

func (*CasbinEnforceRequest) GetObj

func (x *CasbinEnforceRequest) GetObj() string

func (*CasbinEnforceRequest) GetSub

func (x *CasbinEnforceRequest) GetSub() string

func (*CasbinEnforceRequest) ProtoMessage

func (*CasbinEnforceRequest) ProtoMessage()

func (*CasbinEnforceRequest) ProtoReflect

func (x *CasbinEnforceRequest) ProtoReflect() protoreflect.Message

func (*CasbinEnforceRequest) Reset

func (x *CasbinEnforceRequest) Reset()

func (*CasbinEnforceRequest) String

func (x *CasbinEnforceRequest) String() string

type CasbinEnforceResponse

type CasbinEnforceResponse struct {
	Success bool `protobuf:"varint,1,opt,name=Success,proto3" json:"Success,omitempty"`
	// contains filtered or unexported fields
}

func (*CasbinEnforceResponse) Descriptor deprecated

func (*CasbinEnforceResponse) Descriptor() ([]byte, []int)

Deprecated: Use CasbinEnforceResponse.ProtoReflect.Descriptor instead.

func (*CasbinEnforceResponse) GetSuccess

func (x *CasbinEnforceResponse) GetSuccess() bool

func (*CasbinEnforceResponse) ProtoMessage

func (*CasbinEnforceResponse) ProtoMessage()

func (*CasbinEnforceResponse) ProtoReflect

func (x *CasbinEnforceResponse) ProtoReflect() protoreflect.Message

func (*CasbinEnforceResponse) Reset

func (x *CasbinEnforceResponse) Reset()

func (*CasbinEnforceResponse) String

func (x *CasbinEnforceResponse) String() string

type CasbinPolicy

type CasbinPolicy struct {
	Api    string `protobuf:"bytes,1,opt,name=Api,proto3" json:"Api,omitempty"`
	Method string `protobuf:"bytes,2,opt,name=method,proto3" json:"method,omitempty"`
	// contains filtered or unexported fields
}

func (*CasbinPolicy) Descriptor deprecated

func (*CasbinPolicy) Descriptor() ([]byte, []int)

Deprecated: Use CasbinPolicy.ProtoReflect.Descriptor instead.

func (*CasbinPolicy) GetApi

func (x *CasbinPolicy) GetApi() string

func (*CasbinPolicy) GetMethod

func (x *CasbinPolicy) GetMethod() string

func (*CasbinPolicy) ProtoMessage

func (*CasbinPolicy) ProtoMessage()

func (*CasbinPolicy) ProtoReflect

func (x *CasbinPolicy) ProtoReflect() protoreflect.Message

func (*CasbinPolicy) Reset

func (x *CasbinPolicy) Reset()

func (*CasbinPolicy) String

func (x *CasbinPolicy) String() string

type CasbinPolicyResponse

type CasbinPolicyResponse struct {
	Policy []*CasbinPolicy `protobuf:"bytes,1,rep,name=Policy,proto3" json:"Policy,omitempty"`
	// contains filtered or unexported fields
}

func (*CasbinPolicyResponse) Descriptor deprecated

func (*CasbinPolicyResponse) Descriptor() ([]byte, []int)

Deprecated: Use CasbinPolicyResponse.ProtoReflect.Descriptor instead.

func (*CasbinPolicyResponse) GetPolicy

func (x *CasbinPolicyResponse) GetPolicy() []*CasbinPolicy

func (*CasbinPolicyResponse) ProtoMessage

func (*CasbinPolicyResponse) ProtoMessage()

func (*CasbinPolicyResponse) ProtoReflect

func (x *CasbinPolicyResponse) ProtoReflect() protoreflect.Message

func (*CasbinPolicyResponse) Reset

func (x *CasbinPolicyResponse) Reset()

func (*CasbinPolicyResponse) String

func (x *CasbinPolicyResponse) String() string

type CasbinRule

type CasbinRule struct {
	V1 string `protobuf:"bytes,2,opt,name=v1,proto3" json:"v1,omitempty"`
	V2 string `protobuf:"bytes,3,opt,name=v2,proto3" json:"v2,omitempty"`
	// contains filtered or unexported fields
}

func (*CasbinRule) Descriptor deprecated

func (*CasbinRule) Descriptor() ([]byte, []int)

Deprecated: Use CasbinRule.ProtoReflect.Descriptor instead.

func (*CasbinRule) GetV1

func (x *CasbinRule) GetV1() string

func (*CasbinRule) GetV2

func (x *CasbinRule) GetV2() string

func (*CasbinRule) ProtoMessage

func (*CasbinRule) ProtoMessage()

func (*CasbinRule) ProtoReflect

func (x *CasbinRule) ProtoReflect() protoreflect.Message

func (*CasbinRule) Reset

func (x *CasbinRule) Reset()

func (*CasbinRule) String

func (x *CasbinRule) String() string

type CreateAPIRequest

type CreateAPIRequest struct {
	API      string `protobuf:"bytes,1,opt,name=API,proto3" json:"API,omitempty"`
	Group    string `protobuf:"bytes,2,opt,name=Group,proto3" json:"Group,omitempty"`
	Describe string `protobuf:"bytes,3,opt,name=Describe,proto3" json:"Describe,omitempty"`
	Method   string `protobuf:"bytes,4,opt,name=Method,proto3" json:"Method,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateAPIRequest) Descriptor deprecated

func (*CreateAPIRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateAPIRequest.ProtoReflect.Descriptor instead.

func (*CreateAPIRequest) GetAPI

func (x *CreateAPIRequest) GetAPI() string

func (*CreateAPIRequest) GetDescribe

func (x *CreateAPIRequest) GetDescribe() string

func (*CreateAPIRequest) GetGroup

func (x *CreateAPIRequest) GetGroup() string

func (*CreateAPIRequest) GetMethod

func (x *CreateAPIRequest) GetMethod() string

func (*CreateAPIRequest) ProtoMessage

func (*CreateAPIRequest) ProtoMessage()

func (*CreateAPIRequest) ProtoReflect

func (x *CreateAPIRequest) ProtoReflect() protoreflect.Message

func (*CreateAPIRequest) Reset

func (x *CreateAPIRequest) Reset()

func (*CreateAPIRequest) String

func (x *CreateAPIRequest) String() string

type CreateMenuRequest

type CreateMenuRequest struct {
	ParentID  uint64 `protobuf:"varint,1,opt,name=ParentID,proto3" json:"ParentID,omitempty"`
	Name      string `protobuf:"bytes,2,opt,name=Name,proto3" json:"Name,omitempty"`
	Path      string `protobuf:"bytes,3,opt,name=Path,proto3" json:"Path,omitempty"`
	Component string `protobuf:"bytes,4,opt,name=Component,proto3" json:"Component,omitempty"`
	Title     string `protobuf:"bytes,5,opt,name=Title,proto3" json:"Title,omitempty"`
	Icon      string `protobuf:"bytes,6,opt,name=Icon,proto3" json:"Icon,omitempty"`
	Sort      int64  `protobuf:"varint,7,opt,name=sort,proto3" json:"sort,omitempty"`
	Hiddent   int64  `protobuf:"varint,8,opt,name=Hiddent,proto3" json:"Hiddent,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateMenuRequest) Descriptor deprecated

func (*CreateMenuRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateMenuRequest.ProtoReflect.Descriptor instead.

func (*CreateMenuRequest) GetComponent

func (x *CreateMenuRequest) GetComponent() string

func (*CreateMenuRequest) GetHiddent

func (x *CreateMenuRequest) GetHiddent() int64

func (*CreateMenuRequest) GetIcon

func (x *CreateMenuRequest) GetIcon() string

func (*CreateMenuRequest) GetName

func (x *CreateMenuRequest) GetName() string

func (*CreateMenuRequest) GetParentID

func (x *CreateMenuRequest) GetParentID() uint64

func (*CreateMenuRequest) GetPath

func (x *CreateMenuRequest) GetPath() string

func (*CreateMenuRequest) GetSort

func (x *CreateMenuRequest) GetSort() int64

func (*CreateMenuRequest) GetTitle

func (x *CreateMenuRequest) GetTitle() string

func (*CreateMenuRequest) ProtoMessage

func (*CreateMenuRequest) ProtoMessage()

func (*CreateMenuRequest) ProtoReflect

func (x *CreateMenuRequest) ProtoReflect() protoreflect.Message

func (*CreateMenuRequest) Reset

func (x *CreateMenuRequest) Reset()

func (*CreateMenuRequest) String

func (x *CreateMenuRequest) String() string

type CreateRoleRequest

type CreateRoleRequest struct {
	Role     string `protobuf:"bytes,1,opt,name=Role,proto3" json:"Role,omitempty"`
	Name     string `protobuf:"bytes,2,opt,name=Name,proto3" json:"Name,omitempty"`
	CreateBy string `protobuf:"bytes,3,opt,name=CreateBy,proto3" json:"CreateBy,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateRoleRequest) Descriptor deprecated

func (*CreateRoleRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateRoleRequest.ProtoReflect.Descriptor instead.

func (*CreateRoleRequest) GetCreateBy

func (x *CreateRoleRequest) GetCreateBy() string

func (*CreateRoleRequest) GetName

func (x *CreateRoleRequest) GetName() string

func (*CreateRoleRequest) GetRole

func (x *CreateRoleRequest) GetRole() string

func (*CreateRoleRequest) ProtoMessage

func (*CreateRoleRequest) ProtoMessage()

func (*CreateRoleRequest) ProtoReflect

func (x *CreateRoleRequest) ProtoReflect() protoreflect.Message

func (*CreateRoleRequest) Reset

func (x *CreateRoleRequest) Reset()

func (*CreateRoleRequest) String

func (x *CreateRoleRequest) String() string

type CreateUser_UserRoleRequest

type CreateUser_UserRoleRequest struct {
	User     *User    `protobuf:"bytes,1,opt,name=User,proto3" json:"User,omitempty"`
	RoleList []uint64 `protobuf:"varint,2,rep,packed,name=RoleList,proto3" json:"RoleList,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateUser_UserRoleRequest) Descriptor deprecated

func (*CreateUser_UserRoleRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateUser_UserRoleRequest.ProtoReflect.Descriptor instead.

func (*CreateUser_UserRoleRequest) GetRoleList

func (x *CreateUser_UserRoleRequest) GetRoleList() []uint64

func (*CreateUser_UserRoleRequest) GetUser

func (x *CreateUser_UserRoleRequest) GetUser() *User

func (*CreateUser_UserRoleRequest) ProtoMessage

func (*CreateUser_UserRoleRequest) ProtoMessage()

func (*CreateUser_UserRoleRequest) ProtoReflect

func (*CreateUser_UserRoleRequest) Reset

func (x *CreateUser_UserRoleRequest) Reset()

func (*CreateUser_UserRoleRequest) String

func (x *CreateUser_UserRoleRequest) String() string

type DeleteAPIAndCasbinRequest

type DeleteAPIAndCasbinRequest struct {
	ID     uint64 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
	Api    string `protobuf:"bytes,2,opt,name=Api,proto3" json:"Api,omitempty"`
	Method string `protobuf:"bytes,3,opt,name=Method,proto3" json:"Method,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteAPIAndCasbinRequest) Descriptor deprecated

func (*DeleteAPIAndCasbinRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteAPIAndCasbinRequest.ProtoReflect.Descriptor instead.

func (*DeleteAPIAndCasbinRequest) GetApi

func (x *DeleteAPIAndCasbinRequest) GetApi() string

func (*DeleteAPIAndCasbinRequest) GetID

func (x *DeleteAPIAndCasbinRequest) GetID() uint64

func (*DeleteAPIAndCasbinRequest) GetMethod

func (x *DeleteAPIAndCasbinRequest) GetMethod() string

func (*DeleteAPIAndCasbinRequest) ProtoMessage

func (*DeleteAPIAndCasbinRequest) ProtoMessage()

func (*DeleteAPIAndCasbinRequest) ProtoReflect

func (*DeleteAPIAndCasbinRequest) Reset

func (x *DeleteAPIAndCasbinRequest) Reset()

func (*DeleteAPIAndCasbinRequest) String

func (x *DeleteAPIAndCasbinRequest) String() string

type DeleteAPIMultipleAndCasbinRequest

type DeleteAPIMultipleAndCasbinRequest struct {
	APIs []*DeleteAPIAndCasbinRequest `protobuf:"bytes,1,rep,name=APIs,proto3" json:"APIs,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteAPIMultipleAndCasbinRequest) Descriptor deprecated

func (*DeleteAPIMultipleAndCasbinRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteAPIMultipleAndCasbinRequest.ProtoReflect.Descriptor instead.

func (*DeleteAPIMultipleAndCasbinRequest) GetAPIs

func (*DeleteAPIMultipleAndCasbinRequest) ProtoMessage

func (*DeleteAPIMultipleAndCasbinRequest) ProtoMessage()

func (*DeleteAPIMultipleAndCasbinRequest) ProtoReflect

func (*DeleteAPIMultipleAndCasbinRequest) Reset

func (*DeleteAPIMultipleAndCasbinRequest) String

type DeleteSoftRoleRequest

type DeleteSoftRoleRequest struct {
	RoleID   uint64 `protobuf:"varint,1,opt,name=RoleID,proto3" json:"RoleID,omitempty"`
	DeleteBy string `protobuf:"bytes,2,opt,name=DeleteBy,proto3" json:"DeleteBy,omitempty"`
	State    string `protobuf:"bytes,3,opt,name=State,proto3" json:"State,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteSoftRoleRequest) Descriptor deprecated

func (*DeleteSoftRoleRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteSoftRoleRequest.ProtoReflect.Descriptor instead.

func (*DeleteSoftRoleRequest) GetDeleteBy

func (x *DeleteSoftRoleRequest) GetDeleteBy() string

func (*DeleteSoftRoleRequest) GetRoleID

func (x *DeleteSoftRoleRequest) GetRoleID() uint64

func (*DeleteSoftRoleRequest) GetState

func (x *DeleteSoftRoleRequest) GetState() string

func (*DeleteSoftRoleRequest) ProtoMessage

func (*DeleteSoftRoleRequest) ProtoMessage()

func (*DeleteSoftRoleRequest) ProtoReflect

func (x *DeleteSoftRoleRequest) ProtoReflect() protoreflect.Message

func (*DeleteSoftRoleRequest) Reset

func (x *DeleteSoftRoleRequest) Reset()

func (*DeleteSoftRoleRequest) String

func (x *DeleteSoftRoleRequest) String() string

type DeleteSoftUserRequest

type DeleteSoftUserRequest struct {
	UserID   uint64 `protobuf:"varint,1,opt,name=UserID,proto3" json:"UserID,omitempty"`
	DeleteBy string `protobuf:"bytes,2,opt,name=DeleteBy,proto3" json:"DeleteBy,omitempty"`
	State    string `protobuf:"bytes,3,opt,name=State,proto3" json:"State,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteSoftUserRequest) Descriptor deprecated

func (*DeleteSoftUserRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteSoftUserRequest.ProtoReflect.Descriptor instead.

func (*DeleteSoftUserRequest) GetDeleteBy

func (x *DeleteSoftUserRequest) GetDeleteBy() string

func (*DeleteSoftUserRequest) GetState

func (x *DeleteSoftUserRequest) GetState() string

func (*DeleteSoftUserRequest) GetUserID

func (x *DeleteSoftUserRequest) GetUserID() uint64

func (*DeleteSoftUserRequest) ProtoMessage

func (*DeleteSoftUserRequest) ProtoMessage()

func (*DeleteSoftUserRequest) ProtoReflect

func (x *DeleteSoftUserRequest) ProtoReflect() protoreflect.Message

func (*DeleteSoftUserRequest) Reset

func (x *DeleteSoftUserRequest) Reset()

func (*DeleteSoftUserRequest) String

func (x *DeleteSoftUserRequest) String() string

type Empty

type Empty struct {
	// contains filtered or unexported fields
}

------------------- 请求 -------------------

func (*Empty) Descriptor deprecated

func (*Empty) Descriptor() ([]byte, []int)

Deprecated: Use Empty.ProtoReflect.Descriptor instead.

func (*Empty) ProtoMessage

func (*Empty) ProtoMessage()

func (*Empty) ProtoReflect

func (x *Empty) ProtoReflect() protoreflect.Message

func (*Empty) Reset

func (x *Empty) Reset()

func (*Empty) String

func (x *Empty) String() string

type LoginRequest

type LoginRequest struct {
	Name     string `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"`
	PassWord string `protobuf:"bytes,2,opt,name=PassWord,proto3" json:"PassWord,omitempty"`
	// contains filtered or unexported fields
}

func (*LoginRequest) Descriptor deprecated

func (*LoginRequest) Descriptor() ([]byte, []int)

Deprecated: Use LoginRequest.ProtoReflect.Descriptor instead.

func (*LoginRequest) GetName

func (x *LoginRequest) GetName() string

func (*LoginRequest) GetPassWord

func (x *LoginRequest) GetPassWord() string

func (*LoginRequest) ProtoMessage

func (*LoginRequest) ProtoMessage()

func (*LoginRequest) ProtoReflect

func (x *LoginRequest) ProtoReflect() protoreflect.Message

func (*LoginRequest) Reset

func (x *LoginRequest) Reset()

func (*LoginRequest) String

func (x *LoginRequest) String() string

type LoginResponse

type LoginResponse struct {
	Token        string `protobuf:"bytes,1,opt,name=Token,proto3" json:"Token,omitempty"`
	ExporeAt     int64  `protobuf:"varint,2,opt,name=ExporeAt,proto3" json:"ExporeAt,omitempty"`
	RefreshAfter int64  `protobuf:"varint,3,opt,name=RefreshAfter,proto3" json:"RefreshAfter,omitempty"`
	CurrentRole  uint64 `protobuf:"varint,4,opt,name=CurrentRole,proto3" json:"CurrentRole,omitempty"`
	UserID       uint64 `protobuf:"varint,5,opt,name=UserID,proto3" json:"UserID,omitempty"`
	// contains filtered or unexported fields
}

func (*LoginResponse) Descriptor deprecated

func (*LoginResponse) Descriptor() ([]byte, []int)

Deprecated: Use LoginResponse.ProtoReflect.Descriptor instead.

func (*LoginResponse) GetCurrentRole

func (x *LoginResponse) GetCurrentRole() uint64

func (*LoginResponse) GetExporeAt

func (x *LoginResponse) GetExporeAt() int64

func (*LoginResponse) GetRefreshAfter

func (x *LoginResponse) GetRefreshAfter() int64

func (*LoginResponse) GetToken

func (x *LoginResponse) GetToken() string

func (*LoginResponse) GetUserID

func (x *LoginResponse) GetUserID() uint64

func (*LoginResponse) ProtoMessage

func (*LoginResponse) ProtoMessage()

func (*LoginResponse) ProtoReflect

func (x *LoginResponse) ProtoReflect() protoreflect.Message

func (*LoginResponse) Reset

func (x *LoginResponse) Reset()

func (*LoginResponse) String

func (x *LoginResponse) String() string
type Menu struct {
	ID         uint64 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
	ParentID   uint64 `protobuf:"varint,2,opt,name=ParentID,proto3" json:"ParentID,omitempty"`
	Name       string `protobuf:"bytes,3,opt,name=Name,proto3" json:"Name,omitempty"`
	Path       string `protobuf:"bytes,4,opt,name=Path,proto3" json:"Path,omitempty"`
	Component  string `protobuf:"bytes,5,opt,name=Component,proto3" json:"Component,omitempty"`
	Title      string `protobuf:"bytes,6,opt,name=Title,proto3" json:"Title,omitempty"`
	Icon       string `protobuf:"bytes,7,opt,name=Icon,proto3" json:"Icon,omitempty"`
	Sort       int64  `protobuf:"varint,8,opt,name=sort,proto3" json:"sort,omitempty"`
	Hiddent    int64  `protobuf:"varint,9,opt,name=Hiddent,proto3" json:"Hiddent,omitempty"`
	CreateTime int64  `protobuf:"varint,10,opt,name=CreateTime,proto3" json:"CreateTime,omitempty"`
	UpdateTime int64  `protobuf:"varint,11,opt,name=UpdateTime,proto3" json:"UpdateTime,omitempty"`
	DeleteTime int64  `protobuf:"varint,12,opt,name=DeleteTime,proto3" json:"DeleteTime,omitempty"`
	// contains filtered or unexported fields
}

menu模型

func (*Menu) Descriptor() ([]byte, []int)

Deprecated: Use Menu.ProtoReflect.Descriptor instead.

func (x *Menu) GetComponent() string
func (x *Menu) GetCreateTime() int64
func (x *Menu) GetDeleteTime() int64
func (x *Menu) GetHiddent() int64
func (x *Menu) GetID() uint64
func (x *Menu) GetIcon() string
func (x *Menu) GetName() string
func (x *Menu) GetParentID() uint64
func (x *Menu) GetPath() string
func (x *Menu) GetSort() int64
func (x *Menu) GetTitle() string
func (x *Menu) GetUpdateTime() int64
func (*Menu) ProtoMessage()
func (x *Menu) ProtoReflect() protoreflect.Message
func (x *Menu) Reset()
func (x *Menu) String() string
type MenuAllResponse struct {
	Menus []*Menu `protobuf:"bytes,1,rep,name=Menus,proto3" json:"Menus,omitempty"`
	// contains filtered or unexported fields
}
func (*MenuAllResponse) Descriptor() ([]byte, []int)

Deprecated: Use MenuAllResponse.ProtoReflect.Descriptor instead.

func (x *MenuAllResponse) GetMenus() []*Menu
func (*MenuAllResponse) ProtoMessage()
func (x *MenuAllResponse) ProtoReflect() protoreflect.Message
func (x *MenuAllResponse) Reset()
func (x *MenuAllResponse) String() string
type MenuID struct {
	ID uint64 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
	// contains filtered or unexported fields
}
func (*MenuID) Descriptor() ([]byte, []int)

Deprecated: Use MenuID.ProtoReflect.Descriptor instead.

func (x *MenuID) GetID() uint64
func (*MenuID) ProtoMessage()
func (x *MenuID) ProtoReflect() protoreflect.Message
func (x *MenuID) Reset()
func (x *MenuID) String() string

type Role

type Role struct {
	ID         uint64 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
	Role       string `protobuf:"bytes,2,opt,name=Role,proto3" json:"Role,omitempty"`
	Name       string `protobuf:"bytes,3,opt,name=Name,proto3" json:"Name,omitempty"`
	CreateBy   string `protobuf:"bytes,4,opt,name=CreateBy,proto3" json:"CreateBy,omitempty"`
	CreateTime int64  `protobuf:"varint,5,opt,name=CreateTime,proto3" json:"CreateTime,omitempty"`
	UpdateBy   string `protobuf:"bytes,6,opt,name=UpdateBy,proto3" json:"UpdateBy,omitempty"`
	UpdateTime int64  `protobuf:"varint,7,opt,name=UpdateTime,proto3" json:"UpdateTime,omitempty"`
	DeleteBy   string `protobuf:"bytes,8,opt,name=DeleteBy,proto3" json:"DeleteBy,omitempty"`
	DeleteTime int64  `protobuf:"varint,9,opt,name=DeleteTime,proto3" json:"DeleteTime,omitempty"`
	// contains filtered or unexported fields
}

角色模型

func (*Role) Descriptor deprecated

func (*Role) Descriptor() ([]byte, []int)

Deprecated: Use Role.ProtoReflect.Descriptor instead.

func (*Role) GetCreateBy

func (x *Role) GetCreateBy() string

func (*Role) GetCreateTime

func (x *Role) GetCreateTime() int64

func (*Role) GetDeleteBy

func (x *Role) GetDeleteBy() string

func (*Role) GetDeleteTime

func (x *Role) GetDeleteTime() int64

func (*Role) GetID

func (x *Role) GetID() uint64

func (*Role) GetName

func (x *Role) GetName() string

func (*Role) GetRole

func (x *Role) GetRole() string

func (*Role) GetUpdateBy

func (x *Role) GetUpdateBy() string

func (*Role) GetUpdateTime

func (x *Role) GetUpdateTime() int64

func (*Role) ProtoMessage

func (*Role) ProtoMessage()

func (*Role) ProtoReflect

func (x *Role) ProtoReflect() protoreflect.Message

func (*Role) Reset

func (x *Role) Reset()

func (*Role) String

func (x *Role) String() string

type RoleAllResponse

type RoleAllResponse struct {
	Roles []*Role `protobuf:"bytes,1,rep,name=Roles,proto3" json:"Roles,omitempty"`
	// contains filtered or unexported fields
}

---------

func (*RoleAllResponse) Descriptor deprecated

func (*RoleAllResponse) Descriptor() ([]byte, []int)

Deprecated: Use RoleAllResponse.ProtoReflect.Descriptor instead.

func (*RoleAllResponse) GetRoles

func (x *RoleAllResponse) GetRoles() []*Role

func (*RoleAllResponse) ProtoMessage

func (*RoleAllResponse) ProtoMessage()

func (*RoleAllResponse) ProtoReflect

func (x *RoleAllResponse) ProtoReflect() protoreflect.Message

func (*RoleAllResponse) Reset

func (x *RoleAllResponse) Reset()

func (*RoleAllResponse) String

func (x *RoleAllResponse) String() string

type RoleID

type RoleID struct {
	ID uint64 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
	// contains filtered or unexported fields
}

func (*RoleID) Descriptor deprecated

func (*RoleID) Descriptor() ([]byte, []int)

Deprecated: Use RoleID.ProtoReflect.Descriptor instead.

func (*RoleID) GetID

func (x *RoleID) GetID() uint64

func (*RoleID) ProtoMessage

func (*RoleID) ProtoMessage()

func (*RoleID) ProtoReflect

func (x *RoleID) ProtoReflect() protoreflect.Message

func (*RoleID) Reset

func (x *RoleID) Reset()

func (*RoleID) String

func (x *RoleID) String() string

type RoleMenu

type RoleMenu struct {
	Id     uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	MenuID uint64 `protobuf:"varint,2,opt,name=MenuID,proto3" json:"MenuID,omitempty"`
	RoleID uint64 `protobuf:"varint,3,opt,name=RoleID,proto3" json:"RoleID,omitempty"`
	// contains filtered or unexported fields
}

roleMenu模型

func (*RoleMenu) Descriptor deprecated

func (*RoleMenu) Descriptor() ([]byte, []int)

Deprecated: Use RoleMenu.ProtoReflect.Descriptor instead.

func (*RoleMenu) GetId

func (x *RoleMenu) GetId() uint64

func (*RoleMenu) GetMenuID

func (x *RoleMenu) GetMenuID() uint64

func (*RoleMenu) GetRoleID

func (x *RoleMenu) GetRoleID() uint64

func (*RoleMenu) ProtoMessage

func (*RoleMenu) ProtoMessage()

func (*RoleMenu) ProtoReflect

func (x *RoleMenu) ProtoReflect() protoreflect.Message

func (*RoleMenu) Reset

func (x *RoleMenu) Reset()

func (*RoleMenu) String

func (x *RoleMenu) String() string

type RoleMenuResponse

type RoleMenuResponse struct {
	Rolemenus []*RoleMenu `protobuf:"bytes,1,rep,name=Rolemenus,proto3" json:"Rolemenus,omitempty"`
	// contains filtered or unexported fields
}

func (*RoleMenuResponse) Descriptor deprecated

func (*RoleMenuResponse) Descriptor() ([]byte, []int)

Deprecated: Use RoleMenuResponse.ProtoReflect.Descriptor instead.

func (*RoleMenuResponse) GetRolemenus

func (x *RoleMenuResponse) GetRolemenus() []*RoleMenu

func (*RoleMenuResponse) ProtoMessage

func (*RoleMenuResponse) ProtoMessage()

func (*RoleMenuResponse) ProtoReflect

func (x *RoleMenuResponse) ProtoReflect() protoreflect.Message

func (*RoleMenuResponse) Reset

func (x *RoleMenuResponse) Reset()

func (*RoleMenuResponse) String

func (x *RoleMenuResponse) String() string

type SystemServiceClient

type SystemServiceClient 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)
}

SystemServiceClient is the client API for SystemService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type SystemServiceServer

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

SystemServiceServer is the server API for SystemService service. All implementations must embed UnimplementedSystemServiceServer for forward compatibility

type Total

type Total struct {
	Total int64 `protobuf:"varint,1,opt,name=Total,proto3" json:"Total,omitempty"`
	// contains filtered or unexported fields
}

func (*Total) Descriptor deprecated

func (*Total) Descriptor() ([]byte, []int)

Deprecated: Use Total.ProtoReflect.Descriptor instead.

func (*Total) GetTotal

func (x *Total) GetTotal() int64

func (*Total) ProtoMessage

func (*Total) ProtoMessage()

func (*Total) ProtoReflect

func (x *Total) ProtoReflect() protoreflect.Message

func (*Total) Reset

func (x *Total) Reset()

func (*Total) String

func (x *Total) String() string

type UnimplementedSystemServiceServer

type UnimplementedSystemServiceServer struct {
}

UnimplementedSystemServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedSystemServiceServer) APIAll

func (UnimplementedSystemServiceServer) APIDetail

func (UnimplementedSystemServiceServer) APIPaging

func (UnimplementedSystemServiceServer) APITotal

func (UnimplementedSystemServiceServer) CasbinEnforcer

func (UnimplementedSystemServiceServer) CasbinPolicyByRoleID

func (UnimplementedSystemServiceServer) CreateAPI

func (UnimplementedSystemServiceServer) CreateMenu

func (UnimplementedSystemServiceServer) CreateRole

func (UnimplementedSystemServiceServer) CreateUser_UserRole

func (UnimplementedSystemServiceServer) DeleteAPIAndCasbin

func (UnimplementedSystemServiceServer) DeleteAPIMultipleAndCasbin

func (UnimplementedSystemServiceServer) DeleteMenu_RoleMenu_UserMenuParam

func (UnimplementedSystemServiceServer) DeleteMenu_RoleMenu_UserMenuParam(context.Context, *MenuID) (*Empty, error)

func (UnimplementedSystemServiceServer) DeleteRole

func (UnimplementedSystemServiceServer) DeleteSoftRole

func (UnimplementedSystemServiceServer) DeleteSoftUser

func (UnimplementedSystemServiceServer) DeleteUser

func (UnimplementedSystemServiceServer) Login

func (UnimplementedSystemServiceServer) MenuAll

func (UnimplementedSystemServiceServer) MenuDetail

func (UnimplementedSystemServiceServer) RefreshCasbinPolicy

func (UnimplementedSystemServiceServer) RefreshCasbinPolicy(context.Context, *Empty) (*Empty, error)

func (UnimplementedSystemServiceServer) RoleAll

func (UnimplementedSystemServiceServer) RoleDetail

func (UnimplementedSystemServiceServer) RoleMenuByRoleID

func (UnimplementedSystemServiceServer) Test

func (UnimplementedSystemServiceServer) UpdateAPI

func (UnimplementedSystemServiceServer) UpdateCasbinPolicy

func (UnimplementedSystemServiceServer) UpdateMenu

func (UnimplementedSystemServiceServer) UpdateRole

func (UnimplementedSystemServiceServer) UpdateRoleMenus

func (UnimplementedSystemServiceServer) UpdateUser

func (UnimplementedSystemServiceServer) UpdateUserCurrentRole

func (UnimplementedSystemServiceServer) UpdateUserMenuParams

func (UnimplementedSystemServiceServer) UpdateUserPageSet

func (UnimplementedSystemServiceServer) UpdateUserPassword

func (UnimplementedSystemServiceServer) UpdateUserRole

func (UnimplementedSystemServiceServer) UserAllMenuParams

func (UnimplementedSystemServiceServer) UserDetail

func (UnimplementedSystemServiceServer) UserDetailByName

func (UnimplementedSystemServiceServer) UserMenuParamsByUserID

func (UnimplementedSystemServiceServer) UserPageSet

func (UnimplementedSystemServiceServer) UserPaging

func (UnimplementedSystemServiceServer) UserRoleByUserID

func (UnimplementedSystemServiceServer) UserTotal

type UnsafeSystemServiceServer

type UnsafeSystemServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeSystemServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to SystemServiceServer will result in compilation errors.

type UpdateCasbinPolicyRequest

type UpdateCasbinPolicyRequest struct {
	V0          string        `protobuf:"bytes,1,opt,name=v0,proto3" json:"v0,omitempty"`
	CasbinRules []*CasbinRule `protobuf:"bytes,2,rep,name=CasbinRules,proto3" json:"CasbinRules,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateCasbinPolicyRequest) Descriptor deprecated

func (*UpdateCasbinPolicyRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateCasbinPolicyRequest.ProtoReflect.Descriptor instead.

func (*UpdateCasbinPolicyRequest) GetCasbinRules

func (x *UpdateCasbinPolicyRequest) GetCasbinRules() []*CasbinRule

func (*UpdateCasbinPolicyRequest) GetV0

func (x *UpdateCasbinPolicyRequest) GetV0() string

func (*UpdateCasbinPolicyRequest) ProtoMessage

func (*UpdateCasbinPolicyRequest) ProtoMessage()

func (*UpdateCasbinPolicyRequest) ProtoReflect

func (*UpdateCasbinPolicyRequest) Reset

func (x *UpdateCasbinPolicyRequest) Reset()

func (*UpdateCasbinPolicyRequest) String

func (x *UpdateCasbinPolicyRequest) String() string

type UpdateMenuRequest

type UpdateMenuRequest struct {
	Id        uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	ParentID  uint64 `protobuf:"varint,2,opt,name=ParentID,proto3" json:"ParentID,omitempty"`
	Name      string `protobuf:"bytes,3,opt,name=Name,proto3" json:"Name,omitempty"`
	Path      string `protobuf:"bytes,4,opt,name=Path,proto3" json:"Path,omitempty"`
	Component string `protobuf:"bytes,5,opt,name=Component,proto3" json:"Component,omitempty"`
	Title     string `protobuf:"bytes,6,opt,name=Title,proto3" json:"Title,omitempty"`
	Icon      string `protobuf:"bytes,7,opt,name=Icon,proto3" json:"Icon,omitempty"`
	Sort      int64  `protobuf:"varint,8,opt,name=sort,proto3" json:"sort,omitempty"`
	Hiddent   int64  `protobuf:"varint,9,opt,name=Hiddent,proto3" json:"Hiddent,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateMenuRequest) Descriptor deprecated

func (*UpdateMenuRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateMenuRequest.ProtoReflect.Descriptor instead.

func (*UpdateMenuRequest) GetComponent

func (x *UpdateMenuRequest) GetComponent() string

func (*UpdateMenuRequest) GetHiddent

func (x *UpdateMenuRequest) GetHiddent() int64

func (*UpdateMenuRequest) GetIcon

func (x *UpdateMenuRequest) GetIcon() string

func (*UpdateMenuRequest) GetId

func (x *UpdateMenuRequest) GetId() uint64

func (*UpdateMenuRequest) GetName

func (x *UpdateMenuRequest) GetName() string

func (*UpdateMenuRequest) GetParentID

func (x *UpdateMenuRequest) GetParentID() uint64

func (*UpdateMenuRequest) GetPath

func (x *UpdateMenuRequest) GetPath() string

func (*UpdateMenuRequest) GetSort

func (x *UpdateMenuRequest) GetSort() int64

func (*UpdateMenuRequest) GetTitle

func (x *UpdateMenuRequest) GetTitle() string

func (*UpdateMenuRequest) ProtoMessage

func (*UpdateMenuRequest) ProtoMessage()

func (*UpdateMenuRequest) ProtoReflect

func (x *UpdateMenuRequest) ProtoReflect() protoreflect.Message

func (*UpdateMenuRequest) Reset

func (x *UpdateMenuRequest) Reset()

func (*UpdateMenuRequest) String

func (x *UpdateMenuRequest) String() string

type UpdateRoleMenusRequest

type UpdateRoleMenusRequest struct {
	RoleID     uint64   `protobuf:"varint,1,opt,name=RoleID,proto3" json:"RoleID,omitempty"`
	MenuIDList []uint64 `protobuf:"varint,2,rep,packed,name=MenuIDList,proto3" json:"MenuIDList,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateRoleMenusRequest) Descriptor deprecated

func (*UpdateRoleMenusRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateRoleMenusRequest.ProtoReflect.Descriptor instead.

func (*UpdateRoleMenusRequest) GetMenuIDList

func (x *UpdateRoleMenusRequest) GetMenuIDList() []uint64

func (*UpdateRoleMenusRequest) GetRoleID

func (x *UpdateRoleMenusRequest) GetRoleID() uint64

func (*UpdateRoleMenusRequest) ProtoMessage

func (*UpdateRoleMenusRequest) ProtoMessage()

func (*UpdateRoleMenusRequest) ProtoReflect

func (x *UpdateRoleMenusRequest) ProtoReflect() protoreflect.Message

func (*UpdateRoleMenusRequest) Reset

func (x *UpdateRoleMenusRequest) Reset()

func (*UpdateRoleMenusRequest) String

func (x *UpdateRoleMenusRequest) String() string

type UpdateRoleRequest

type UpdateRoleRequest struct {
	ID       uint64 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
	Role     string `protobuf:"bytes,2,opt,name=Role,proto3" json:"Role,omitempty"`
	Name     string `protobuf:"bytes,3,opt,name=Name,proto3" json:"Name,omitempty"`
	CreateBy string `protobuf:"bytes,4,opt,name=CreateBy,proto3" json:"CreateBy,omitempty"`
	UpdateBy string `protobuf:"bytes,5,opt,name=UpdateBy,proto3" json:"UpdateBy,omitempty"`
	DeleteBy string `protobuf:"bytes,6,opt,name=DeleteBy,proto3" json:"DeleteBy,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateRoleRequest) Descriptor deprecated

func (*UpdateRoleRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateRoleRequest.ProtoReflect.Descriptor instead.

func (*UpdateRoleRequest) GetCreateBy

func (x *UpdateRoleRequest) GetCreateBy() string

func (*UpdateRoleRequest) GetDeleteBy

func (x *UpdateRoleRequest) GetDeleteBy() string

func (*UpdateRoleRequest) GetID

func (x *UpdateRoleRequest) GetID() uint64

func (*UpdateRoleRequest) GetName

func (x *UpdateRoleRequest) GetName() string

func (*UpdateRoleRequest) GetRole

func (x *UpdateRoleRequest) GetRole() string

func (*UpdateRoleRequest) GetUpdateBy

func (x *UpdateRoleRequest) GetUpdateBy() string

func (*UpdateRoleRequest) ProtoMessage

func (*UpdateRoleRequest) ProtoMessage()

func (*UpdateRoleRequest) ProtoReflect

func (x *UpdateRoleRequest) ProtoReflect() protoreflect.Message

func (*UpdateRoleRequest) Reset

func (x *UpdateRoleRequest) Reset()

func (*UpdateRoleRequest) String

func (x *UpdateRoleRequest) String() string

type UpdateUserCurrentRoleRequest

type UpdateUserCurrentRoleRequest struct {
	UserID uint64 `protobuf:"varint,1,opt,name=UserID,proto3" json:"UserID,omitempty"`
	RoleID uint64 `protobuf:"varint,2,opt,name=RoleID,proto3" json:"RoleID,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateUserCurrentRoleRequest) Descriptor deprecated

func (*UpdateUserCurrentRoleRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateUserCurrentRoleRequest.ProtoReflect.Descriptor instead.

func (*UpdateUserCurrentRoleRequest) GetRoleID

func (x *UpdateUserCurrentRoleRequest) GetRoleID() uint64

func (*UpdateUserCurrentRoleRequest) GetUserID

func (x *UpdateUserCurrentRoleRequest) GetUserID() uint64

func (*UpdateUserCurrentRoleRequest) ProtoMessage

func (*UpdateUserCurrentRoleRequest) ProtoMessage()

func (*UpdateUserCurrentRoleRequest) ProtoReflect

func (*UpdateUserCurrentRoleRequest) Reset

func (x *UpdateUserCurrentRoleRequest) Reset()

func (*UpdateUserCurrentRoleRequest) String

type UpdateUserMenuParamsRequest

type UpdateUserMenuParamsRequest struct {
	MenuId         uint64            `protobuf:"varint,1,opt,name=MenuId,proto3" json:"MenuId,omitempty"`
	UserMenuParams []*UserMenuParams `protobuf:"bytes,2,rep,name=UserMenuParams,proto3" json:"UserMenuParams,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateUserMenuParamsRequest) Descriptor deprecated

func (*UpdateUserMenuParamsRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateUserMenuParamsRequest.ProtoReflect.Descriptor instead.

func (*UpdateUserMenuParamsRequest) GetMenuId

func (x *UpdateUserMenuParamsRequest) GetMenuId() uint64

func (*UpdateUserMenuParamsRequest) GetUserMenuParams

func (x *UpdateUserMenuParamsRequest) GetUserMenuParams() []*UserMenuParams

func (*UpdateUserMenuParamsRequest) ProtoMessage

func (*UpdateUserMenuParamsRequest) ProtoMessage()

func (*UpdateUserMenuParamsRequest) ProtoReflect

func (*UpdateUserMenuParamsRequest) Reset

func (x *UpdateUserMenuParamsRequest) Reset()

func (*UpdateUserMenuParamsRequest) String

func (x *UpdateUserMenuParamsRequest) String() string

type UpdateUserPageSetRequest

type UpdateUserPageSetRequest struct {
	UserID          uint64 `protobuf:"varint,1,opt,name=UserID,proto3" json:"UserID,omitempty"`
	Avatar          string `protobuf:"bytes,2,opt,name=Avatar,proto3" json:"Avatar,omitempty"`
	DefaultRouter   string `protobuf:"bytes,3,opt,name=DefaultRouter,proto3" json:"DefaultRouter,omitempty"`
	SideMode        string `protobuf:"bytes,4,opt,name=SideMode,proto3" json:"SideMode,omitempty"`
	ActiveTextColor string `protobuf:"bytes,5,opt,name=ActiveTextColor,proto3" json:"ActiveTextColor,omitempty"`
	TextColor       string `protobuf:"bytes,6,opt,name=TextColor,proto3" json:"TextColor,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateUserPageSetRequest) Descriptor deprecated

func (*UpdateUserPageSetRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateUserPageSetRequest.ProtoReflect.Descriptor instead.

func (*UpdateUserPageSetRequest) GetActiveTextColor

func (x *UpdateUserPageSetRequest) GetActiveTextColor() string

func (*UpdateUserPageSetRequest) GetAvatar

func (x *UpdateUserPageSetRequest) GetAvatar() string

func (*UpdateUserPageSetRequest) GetDefaultRouter

func (x *UpdateUserPageSetRequest) GetDefaultRouter() string

func (*UpdateUserPageSetRequest) GetSideMode

func (x *UpdateUserPageSetRequest) GetSideMode() string

func (*UpdateUserPageSetRequest) GetTextColor

func (x *UpdateUserPageSetRequest) GetTextColor() string

func (*UpdateUserPageSetRequest) GetUserID

func (x *UpdateUserPageSetRequest) GetUserID() uint64

func (*UpdateUserPageSetRequest) ProtoMessage

func (*UpdateUserPageSetRequest) ProtoMessage()

func (*UpdateUserPageSetRequest) ProtoReflect

func (x *UpdateUserPageSetRequest) ProtoReflect() protoreflect.Message

func (*UpdateUserPageSetRequest) Reset

func (x *UpdateUserPageSetRequest) Reset()

func (*UpdateUserPageSetRequest) String

func (x *UpdateUserPageSetRequest) String() string

type UpdateUserPasswordRequest

type UpdateUserPasswordRequest struct {
	ID       uint64 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
	Password string `protobuf:"bytes,2,opt,name=Password,proto3" json:"Password,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateUserPasswordRequest) Descriptor deprecated

func (*UpdateUserPasswordRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateUserPasswordRequest.ProtoReflect.Descriptor instead.

func (*UpdateUserPasswordRequest) GetID

func (x *UpdateUserPasswordRequest) GetID() uint64

func (*UpdateUserPasswordRequest) GetPassword

func (x *UpdateUserPasswordRequest) GetPassword() string

func (*UpdateUserPasswordRequest) ProtoMessage

func (*UpdateUserPasswordRequest) ProtoMessage()

func (*UpdateUserPasswordRequest) ProtoReflect

func (*UpdateUserPasswordRequest) Reset

func (x *UpdateUserPasswordRequest) Reset()

func (*UpdateUserPasswordRequest) String

func (x *UpdateUserPasswordRequest) String() string

type UpdateUserRequest

type UpdateUserRequest struct {
	ID         uint64 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
	Name       string `protobuf:"bytes,2,opt,name=Name,proto3" json:"Name,omitempty"`
	NickName   string `protobuf:"bytes,3,opt,name=NickName,proto3" json:"NickName,omitempty"`
	Email      string `protobuf:"bytes,4,opt,name=Email,proto3" json:"Email,omitempty"`
	Phone      string `protobuf:"bytes,5,opt,name=Phone,proto3" json:"Phone,omitempty"`
	Department string `protobuf:"bytes,6,opt,name=Department,proto3" json:"Department,omitempty"`
	Position   string `protobuf:"bytes,7,opt,name=Position,proto3" json:"Position,omitempty"`
	UpdateBy   string `protobuf:"bytes,8,opt,name=UpdateBy,proto3" json:"UpdateBy,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateUserRequest) Descriptor deprecated

func (*UpdateUserRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateUserRequest.ProtoReflect.Descriptor instead.

func (*UpdateUserRequest) GetDepartment

func (x *UpdateUserRequest) GetDepartment() string

func (*UpdateUserRequest) GetEmail

func (x *UpdateUserRequest) GetEmail() string

func (*UpdateUserRequest) GetID

func (x *UpdateUserRequest) GetID() uint64

func (*UpdateUserRequest) GetName

func (x *UpdateUserRequest) GetName() string

func (*UpdateUserRequest) GetNickName

func (x *UpdateUserRequest) GetNickName() string

func (*UpdateUserRequest) GetPhone

func (x *UpdateUserRequest) GetPhone() string

func (*UpdateUserRequest) GetPosition

func (x *UpdateUserRequest) GetPosition() string

func (*UpdateUserRequest) GetUpdateBy

func (x *UpdateUserRequest) GetUpdateBy() string

func (*UpdateUserRequest) ProtoMessage

func (*UpdateUserRequest) ProtoMessage()

func (*UpdateUserRequest) ProtoReflect

func (x *UpdateUserRequest) ProtoReflect() protoreflect.Message

func (*UpdateUserRequest) Reset

func (x *UpdateUserRequest) Reset()

func (*UpdateUserRequest) String

func (x *UpdateUserRequest) String() string

type UpdateUserRoleRequest

type UpdateUserRoleRequest struct {
	UserID   uint64   `protobuf:"varint,1,opt,name=UserID,proto3" json:"UserID,omitempty"`
	RoleList []uint64 `protobuf:"varint,2,rep,packed,name=RoleList,proto3" json:"RoleList,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateUserRoleRequest) Descriptor deprecated

func (*UpdateUserRoleRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateUserRoleRequest.ProtoReflect.Descriptor instead.

func (*UpdateUserRoleRequest) GetRoleList

func (x *UpdateUserRoleRequest) GetRoleList() []uint64

func (*UpdateUserRoleRequest) GetUserID

func (x *UpdateUserRoleRequest) GetUserID() uint64

func (*UpdateUserRoleRequest) ProtoMessage

func (*UpdateUserRoleRequest) ProtoMessage()

func (*UpdateUserRoleRequest) ProtoReflect

func (x *UpdateUserRoleRequest) ProtoReflect() protoreflect.Message

func (*UpdateUserRoleRequest) Reset

func (x *UpdateUserRoleRequest) Reset()

func (*UpdateUserRoleRequest) String

func (x *UpdateUserRoleRequest) String() string

type User

type User struct {
	ID          uint64 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
	Name        string `protobuf:"bytes,2,opt,name=Name,proto3" json:"Name,omitempty"`
	NickName    string `protobuf:"bytes,3,opt,name=NickName,proto3" json:"NickName,omitempty"`
	PassWord    string `protobuf:"bytes,4,opt,name=PassWord,proto3" json:"PassWord,omitempty"`
	UserType    int64  `protobuf:"varint,5,opt,name=UserType,proto3" json:"UserType,omitempty"`
	Email       string `protobuf:"bytes,6,opt,name=Email,proto3" json:"Email,omitempty"`
	Phone       string `protobuf:"bytes,7,opt,name=Phone,proto3" json:"Phone,omitempty"`
	Department  string `protobuf:"bytes,8,opt,name=Department,proto3" json:"Department,omitempty"`
	Position    string `protobuf:"bytes,9,opt,name=Position,proto3" json:"Position,omitempty"`
	CurrentRole uint64 `protobuf:"varint,10,opt,name=CurrentRole,proto3" json:"CurrentRole,omitempty"`
	CreateBy    string `protobuf:"bytes,11,opt,name=CreateBy,proto3" json:"CreateBy,omitempty"`
	CreateTime  int64  `protobuf:"varint,12,opt,name=CreateTime,proto3" json:"CreateTime,omitempty"`
	UpdateBy    string `protobuf:"bytes,13,opt,name=UpdateBy,proto3" json:"UpdateBy,omitempty"`
	UpdateTime  int64  `protobuf:"varint,14,opt,name=UpdateTime,proto3" json:"UpdateTime,omitempty"`
	DeleteBy    string `protobuf:"bytes,15,opt,name=DeleteBy,proto3" json:"DeleteBy,omitempty"`
	DeleteTime  int64  `protobuf:"varint,16,opt,name=DeleteTime,proto3" json:"DeleteTime,omitempty"`
	// contains filtered or unexported fields
}

用户模型

func (*User) Descriptor deprecated

func (*User) Descriptor() ([]byte, []int)

Deprecated: Use User.ProtoReflect.Descriptor instead.

func (*User) GetCreateBy

func (x *User) GetCreateBy() string

func (*User) GetCreateTime

func (x *User) GetCreateTime() int64

func (*User) GetCurrentRole

func (x *User) GetCurrentRole() uint64

func (*User) GetDeleteBy

func (x *User) GetDeleteBy() string

func (*User) GetDeleteTime

func (x *User) GetDeleteTime() int64

func (*User) GetDepartment

func (x *User) GetDepartment() string

func (*User) GetEmail

func (x *User) GetEmail() string

func (*User) GetID

func (x *User) GetID() uint64

func (*User) GetName

func (x *User) GetName() string

func (*User) GetNickName

func (x *User) GetNickName() string

func (*User) GetPassWord

func (x *User) GetPassWord() string

func (*User) GetPhone

func (x *User) GetPhone() string

func (*User) GetPosition

func (x *User) GetPosition() string

func (*User) GetUpdateBy

func (x *User) GetUpdateBy() string

func (*User) GetUpdateTime

func (x *User) GetUpdateTime() int64

func (*User) GetUserType

func (x *User) GetUserType() int64

func (*User) ProtoMessage

func (*User) ProtoMessage()

func (*User) ProtoReflect

func (x *User) ProtoReflect() protoreflect.Message

func (*User) Reset

func (x *User) Reset()

func (*User) String

func (x *User) String() string

type UserID

type UserID struct {
	ID uint64 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
	// contains filtered or unexported fields
}

func (*UserID) Descriptor deprecated

func (*UserID) Descriptor() ([]byte, []int)

Deprecated: Use UserID.ProtoReflect.Descriptor instead.

func (*UserID) GetID

func (x *UserID) GetID() uint64

func (*UserID) ProtoMessage

func (*UserID) ProtoMessage()

func (*UserID) ProtoReflect

func (x *UserID) ProtoReflect() protoreflect.Message

func (*UserID) Reset

func (x *UserID) Reset()

func (*UserID) String

func (x *UserID) String() string

type UserMenuParams

type UserMenuParams struct {
	ID     uint64 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
	UserID uint64 `protobuf:"varint,2,opt,name=UserID,proto3" json:"UserID,omitempty"`
	MenuID uint64 `protobuf:"varint,3,opt,name=MenuID,proto3" json:"MenuID,omitempty"`
	Type   string `protobuf:"bytes,4,opt,name=Type,proto3" json:"Type,omitempty"`
	Key    string `protobuf:"bytes,5,opt,name=Key,proto3" json:"Key,omitempty"`
	Value  string `protobuf:"bytes,6,opt,name=Value,proto3" json:"Value,omitempty"`
	// contains filtered or unexported fields
}

user_menu_params模型

func (*UserMenuParams) Descriptor deprecated

func (*UserMenuParams) Descriptor() ([]byte, []int)

Deprecated: Use UserMenuParams.ProtoReflect.Descriptor instead.

func (*UserMenuParams) GetID

func (x *UserMenuParams) GetID() uint64

func (*UserMenuParams) GetKey

func (x *UserMenuParams) GetKey() string

func (*UserMenuParams) GetMenuID

func (x *UserMenuParams) GetMenuID() uint64

func (*UserMenuParams) GetType

func (x *UserMenuParams) GetType() string

func (*UserMenuParams) GetUserID

func (x *UserMenuParams) GetUserID() uint64

func (*UserMenuParams) GetValue

func (x *UserMenuParams) GetValue() string

func (*UserMenuParams) ProtoMessage

func (*UserMenuParams) ProtoMessage()

func (*UserMenuParams) ProtoReflect

func (x *UserMenuParams) ProtoReflect() protoreflect.Message

func (*UserMenuParams) Reset

func (x *UserMenuParams) Reset()

func (*UserMenuParams) String

func (x *UserMenuParams) String() string

type UserMenuParamsResponse

type UserMenuParamsResponse struct {
	UserMenuParams []*UserMenuParams `protobuf:"bytes,1,rep,name=UserMenuParams,proto3" json:"UserMenuParams,omitempty"`
	// contains filtered or unexported fields
}

func (*UserMenuParamsResponse) Descriptor deprecated

func (*UserMenuParamsResponse) Descriptor() ([]byte, []int)

Deprecated: Use UserMenuParamsResponse.ProtoReflect.Descriptor instead.

func (*UserMenuParamsResponse) GetUserMenuParams

func (x *UserMenuParamsResponse) GetUserMenuParams() []*UserMenuParams

func (*UserMenuParamsResponse) ProtoMessage

func (*UserMenuParamsResponse) ProtoMessage()

func (*UserMenuParamsResponse) ProtoReflect

func (x *UserMenuParamsResponse) ProtoReflect() protoreflect.Message

func (*UserMenuParamsResponse) Reset

func (x *UserMenuParamsResponse) Reset()

func (*UserMenuParamsResponse) String

func (x *UserMenuParamsResponse) String() string

type UserName

type UserName struct {
	Name string `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"`
	// contains filtered or unexported fields
}

func (*UserName) Descriptor deprecated

func (*UserName) Descriptor() ([]byte, []int)

Deprecated: Use UserName.ProtoReflect.Descriptor instead.

func (*UserName) GetName

func (x *UserName) GetName() string

func (*UserName) ProtoMessage

func (*UserName) ProtoMessage()

func (*UserName) ProtoReflect

func (x *UserName) ProtoReflect() protoreflect.Message

func (*UserName) Reset

func (x *UserName) Reset()

func (*UserName) String

func (x *UserName) String() string

type UserPageSetResponse

type UserPageSetResponse struct {
	ID              uint64 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
	UserId          uint64 `protobuf:"varint,2,opt,name=UserId,proto3" json:"UserId,omitempty"`
	Avatar          string `protobuf:"bytes,3,opt,name=Avatar,proto3" json:"Avatar,omitempty"`
	DefaultRouter   string `protobuf:"bytes,4,opt,name=DefaultRouter,proto3" json:"DefaultRouter,omitempty"`
	SideMode        string `protobuf:"bytes,5,opt,name=SideMode,proto3" json:"SideMode,omitempty"`
	ActiveTextColor string `protobuf:"bytes,6,opt,name=ActiveTextColor,proto3" json:"ActiveTextColor,omitempty"`
	TextColor       string `protobuf:"bytes,7,opt,name=TextColor,proto3" json:"TextColor,omitempty"`
	// contains filtered or unexported fields
}

用户页面设置模型

func (*UserPageSetResponse) Descriptor deprecated

func (*UserPageSetResponse) Descriptor() ([]byte, []int)

Deprecated: Use UserPageSetResponse.ProtoReflect.Descriptor instead.

func (*UserPageSetResponse) GetActiveTextColor

func (x *UserPageSetResponse) GetActiveTextColor() string

func (*UserPageSetResponse) GetAvatar

func (x *UserPageSetResponse) GetAvatar() string

func (*UserPageSetResponse) GetDefaultRouter

func (x *UserPageSetResponse) GetDefaultRouter() string

func (*UserPageSetResponse) GetID

func (x *UserPageSetResponse) GetID() uint64

func (*UserPageSetResponse) GetSideMode

func (x *UserPageSetResponse) GetSideMode() string

func (*UserPageSetResponse) GetTextColor

func (x *UserPageSetResponse) GetTextColor() string

func (*UserPageSetResponse) GetUserId

func (x *UserPageSetResponse) GetUserId() uint64

func (*UserPageSetResponse) ProtoMessage

func (*UserPageSetResponse) ProtoMessage()

func (*UserPageSetResponse) ProtoReflect

func (x *UserPageSetResponse) ProtoReflect() protoreflect.Message

func (*UserPageSetResponse) Reset

func (x *UserPageSetResponse) Reset()

func (*UserPageSetResponse) String

func (x *UserPageSetResponse) String() string

type UserPagingRequest

type UserPagingRequest struct {
	Page     int64  `protobuf:"varint,1,opt,name=Page,proto3" json:"Page,omitempty"`
	PageSize int64  `protobuf:"varint,2,opt,name=PageSize,proto3" json:"PageSize,omitempty"`
	NameX    string `protobuf:"bytes,3,opt,name=NameX,proto3" json:"NameX,omitempty"`
	// contains filtered or unexported fields
}

------------- 请求响应

func (*UserPagingRequest) Descriptor deprecated

func (*UserPagingRequest) Descriptor() ([]byte, []int)

Deprecated: Use UserPagingRequest.ProtoReflect.Descriptor instead.

func (*UserPagingRequest) GetNameX

func (x *UserPagingRequest) GetNameX() string

func (*UserPagingRequest) GetPage

func (x *UserPagingRequest) GetPage() int64

func (*UserPagingRequest) GetPageSize

func (x *UserPagingRequest) GetPageSize() int64

func (*UserPagingRequest) ProtoMessage

func (*UserPagingRequest) ProtoMessage()

func (*UserPagingRequest) ProtoReflect

func (x *UserPagingRequest) ProtoReflect() protoreflect.Message

func (*UserPagingRequest) Reset

func (x *UserPagingRequest) Reset()

func (*UserPagingRequest) String

func (x *UserPagingRequest) String() string

type UserPagingResponse

type UserPagingResponse struct {
	Users []*User `protobuf:"bytes,1,rep,name=Users,proto3" json:"Users,omitempty"`
	// contains filtered or unexported fields
}

func (*UserPagingResponse) Descriptor deprecated

func (*UserPagingResponse) Descriptor() ([]byte, []int)

Deprecated: Use UserPagingResponse.ProtoReflect.Descriptor instead.

func (*UserPagingResponse) GetUsers

func (x *UserPagingResponse) GetUsers() []*User

func (*UserPagingResponse) ProtoMessage

func (*UserPagingResponse) ProtoMessage()

func (*UserPagingResponse) ProtoReflect

func (x *UserPagingResponse) ProtoReflect() protoreflect.Message

func (*UserPagingResponse) Reset

func (x *UserPagingResponse) Reset()

func (*UserPagingResponse) String

func (x *UserPagingResponse) String() string

type UserRole

type UserRole struct {
	ID     uint64 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
	UserID uint64 `protobuf:"varint,2,opt,name=UserID,proto3" json:"UserID,omitempty"`
	RoleID uint64 `protobuf:"varint,3,opt,name=RoleID,proto3" json:"RoleID,omitempty"`
	// contains filtered or unexported fields
}

userRole模型

func (*UserRole) Descriptor deprecated

func (*UserRole) Descriptor() ([]byte, []int)

Deprecated: Use UserRole.ProtoReflect.Descriptor instead.

func (*UserRole) GetID

func (x *UserRole) GetID() uint64

func (*UserRole) GetRoleID

func (x *UserRole) GetRoleID() uint64

func (*UserRole) GetUserID

func (x *UserRole) GetUserID() uint64

func (*UserRole) ProtoMessage

func (*UserRole) ProtoMessage()

func (*UserRole) ProtoReflect

func (x *UserRole) ProtoReflect() protoreflect.Message

func (*UserRole) Reset

func (x *UserRole) Reset()

func (*UserRole) String

func (x *UserRole) String() string

type UserRoleResponse

type UserRoleResponse struct {
	UserRoles []*UserRole `protobuf:"bytes,1,rep,name=UserRoles,proto3" json:"UserRoles,omitempty"`
	// contains filtered or unexported fields
}

func (*UserRoleResponse) Descriptor deprecated

func (*UserRoleResponse) Descriptor() ([]byte, []int)

Deprecated: Use UserRoleResponse.ProtoReflect.Descriptor instead.

func (*UserRoleResponse) GetUserRoles

func (x *UserRoleResponse) GetUserRoles() []*UserRole

func (*UserRoleResponse) ProtoMessage

func (*UserRoleResponse) ProtoMessage()

func (*UserRoleResponse) ProtoReflect

func (x *UserRoleResponse) ProtoReflect() protoreflect.Message

func (*UserRoleResponse) Reset

func (x *UserRoleResponse) Reset()

func (*UserRoleResponse) String

func (x *UserRoleResponse) String() string

Jump to

Keyboard shortcuts

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