sys

package
v0.6.4 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2023 License: AGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Api_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "sys.Api",
	HandlerType: (*ApiServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "apiCreate",
			Handler:    _Api_ApiCreate_Handler,
		},
		{
			MethodName: "apiIndex",
			Handler:    _Api_ApiIndex_Handler,
		},
		{
			MethodName: "apiUpdate",
			Handler:    _Api_ApiUpdate_Handler,
		},
		{
			MethodName: "apiDelete",
			Handler:    _Api_ApiDelete_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "proto/sys.proto",
}

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

View Source
var Common_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "sys.Common",
	HandlerType: (*CommonServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "config",
			Handler:    _Common_Config_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "proto/sys.proto",
}

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

View Source
var File_proto_sys_proto protoreflect.FileDescriptor
View Source
var Log_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "sys.Log",
	HandlerType: (*LogServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "loginLogIndex",
			Handler:    _Log_LoginLogIndex_Handler,
		},
		{
			MethodName: "operLogIndex",
			Handler:    _Log_OperLogIndex_Handler,
		},
		{
			MethodName: "loginLogCreate",
			Handler:    _Log_LoginLogCreate_Handler,
		},
		{
			MethodName: "operLogCreate",
			Handler:    _Log_OperLogCreate_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "proto/sys.proto",
}

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

View Source
var Menu_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "sys.Menu",
	HandlerType: (*MenuServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "menuCreate",
			Handler:    _Menu_MenuCreate_Handler,
		},
		{
			MethodName: "menuIndex",
			Handler:    _Menu_MenuIndex_Handler,
		},
		{
			MethodName: "menuUpdate",
			Handler:    _Menu_MenuUpdate_Handler,
		},
		{
			MethodName: "menuDelete",
			Handler:    _Menu_MenuDelete_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "proto/sys.proto",
}

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

View Source
var Role_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "sys.Role",
	HandlerType: (*RoleServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "roleCreate",
			Handler:    _Role_RoleCreate_Handler,
		},
		{
			MethodName: "roleIndex",
			Handler:    _Role_RoleIndex_Handler,
		},
		{
			MethodName: "roleUpdate",
			Handler:    _Role_RoleUpdate_Handler,
		},
		{
			MethodName: "roleDelete",
			Handler:    _Role_RoleDelete_Handler,
		},
		{
			MethodName: "roleMenuUpdate",
			Handler:    _Role_RoleMenuUpdate_Handler,
		},
		{
			MethodName: "roleApiAuth",
			Handler:    _Role_RoleApiAuth_Handler,
		},
		{
			MethodName: "roleApiMultiUpdate",
			Handler:    _Role_RoleApiMultiUpdate_Handler,
		},
		{
			MethodName: "roleApiIndex",
			Handler:    _Role_RoleApiIndex_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "proto/sys.proto",
}

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

View Source
var User_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "sys.User",
	HandlerType: (*UserServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "userCreate",
			Handler:    _User_UserCreate_Handler,
		},
		{
			MethodName: "userIndex",
			Handler:    _User_UserIndex_Handler,
		},
		{
			MethodName: "userUpdate",
			Handler:    _User_UserUpdate_Handler,
		},
		{
			MethodName: "userRead",
			Handler:    _User_UserRead_Handler,
		},
		{
			MethodName: "userDelete",
			Handler:    _User_UserDelete_Handler,
		},
		{
			MethodName: "userLogin",
			Handler:    _User_UserLogin_Handler,
		},
		{
			MethodName: "userCheckToken",
			Handler:    _User_UserCheckToken_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "proto/sys.proto",
}

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

Functions

func RegisterApiServer added in v0.3.1

func RegisterApiServer(s grpc.ServiceRegistrar, srv ApiServer)

func RegisterCommonServer added in v0.3.0

func RegisterCommonServer(s grpc.ServiceRegistrar, srv CommonServer)

func RegisterLogServer added in v0.3.1

func RegisterLogServer(s grpc.ServiceRegistrar, srv LogServer)

func RegisterMenuServer

func RegisterMenuServer(s grpc.ServiceRegistrar, srv MenuServer)

func RegisterRoleServer

func RegisterRoleServer(s grpc.ServiceRegistrar, srv RoleServer)

func RegisterUserServer

func RegisterUserServer(s grpc.ServiceRegistrar, srv UserServer)

Types

type ApiClient added in v0.3.1

type ApiClient interface {
	ApiCreate(ctx context.Context, in *ApiCreateReq, opts ...grpc.CallOption) (*Response, error)
	ApiIndex(ctx context.Context, in *ApiIndexReq, opts ...grpc.CallOption) (*ApiIndexResp, error)
	ApiUpdate(ctx context.Context, in *ApiUpdateReq, opts ...grpc.CallOption) (*Response, error)
	ApiDelete(ctx context.Context, in *ApiDeleteReq, opts ...grpc.CallOption) (*Response, error)
}

ApiClient is the client API for Api 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.

func NewApiClient added in v0.3.1

func NewApiClient(cc grpc.ClientConnInterface) ApiClient

type ApiCreateReq added in v0.3.1

type ApiCreateReq struct {
	Route        string `protobuf:"bytes,1,opt,name=route,proto3" json:"route,omitempty"`                // 接口路由
	Method       int64  `protobuf:"varint,2,opt,name=method,proto3" json:"method,omitempty"`             // 接口请求方式: POST GET
	Group        string `protobuf:"bytes,3,opt,name=group,proto3" json:"group,omitempty"`                // 接口分组
	Name         string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`                  // 接口名称
	BusinessType int64  `protobuf:"varint,5,opt,name=businessType,proto3" json:"businessType,omitempty"` // 业务类型(1新增 2修改 3删除 4查询 5其它)
	// contains filtered or unexported fields
}

接口相关信息

func (*ApiCreateReq) Descriptor deprecated added in v0.3.1

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

Deprecated: Use ApiCreateReq.ProtoReflect.Descriptor instead.

func (*ApiCreateReq) GetBusinessType added in v0.3.1

func (x *ApiCreateReq) GetBusinessType() int64

func (*ApiCreateReq) GetGroup added in v0.3.1

func (x *ApiCreateReq) GetGroup() string

func (*ApiCreateReq) GetMethod added in v0.3.1

func (x *ApiCreateReq) GetMethod() int64

func (*ApiCreateReq) GetName added in v0.3.1

func (x *ApiCreateReq) GetName() string

func (*ApiCreateReq) GetRoute added in v0.3.1

func (x *ApiCreateReq) GetRoute() string

func (*ApiCreateReq) ProtoMessage added in v0.3.1

func (*ApiCreateReq) ProtoMessage()

func (*ApiCreateReq) ProtoReflect added in v0.3.1

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

func (*ApiCreateReq) Reset added in v0.3.1

func (x *ApiCreateReq) Reset()

func (*ApiCreateReq) String added in v0.3.1

func (x *ApiCreateReq) String() string

type ApiData added in v0.3.1

type ApiData struct {
	Id           int64  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`                     // 接口编号
	Route        string `protobuf:"bytes,2,opt,name=route,proto3" json:"route,omitempty"`                // 接口路由
	Method       int64  `protobuf:"varint,3,opt,name=method,proto3" json:"method,omitempty"`             // 接口请求方式: POST GET
	Group        string `protobuf:"bytes,4,opt,name=group,proto3" json:"group,omitempty"`                // 接口分组
	Name         string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"`                  // 接口名称
	BusinessType int64  `protobuf:"varint,6,opt,name=businessType,proto3" json:"businessType,omitempty"` // 业务类型(1新增 2修改 3删除 4查询 5其它)
	// contains filtered or unexported fields
}

func (*ApiData) Descriptor deprecated added in v0.3.1

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

Deprecated: Use ApiData.ProtoReflect.Descriptor instead.

func (*ApiData) GetBusinessType added in v0.3.1

func (x *ApiData) GetBusinessType() int64

func (*ApiData) GetGroup added in v0.3.1

func (x *ApiData) GetGroup() string

func (*ApiData) GetId added in v0.3.1

func (x *ApiData) GetId() int64

func (*ApiData) GetMethod added in v0.3.1

func (x *ApiData) GetMethod() int64

func (*ApiData) GetName added in v0.3.1

func (x *ApiData) GetName() string

func (*ApiData) GetRoute added in v0.3.1

func (x *ApiData) GetRoute() string

func (*ApiData) ProtoMessage added in v0.3.1

func (*ApiData) ProtoMessage()

func (*ApiData) ProtoReflect added in v0.3.1

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

func (*ApiData) Reset added in v0.3.1

func (x *ApiData) Reset()

func (*ApiData) String added in v0.3.1

func (x *ApiData) String() string

type ApiDeleteReq added in v0.3.1

type ApiDeleteReq struct {
	Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // 接口编号
	// contains filtered or unexported fields
}

func (*ApiDeleteReq) Descriptor deprecated added in v0.3.1

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

Deprecated: Use ApiDeleteReq.ProtoReflect.Descriptor instead.

func (*ApiDeleteReq) GetId added in v0.3.1

func (x *ApiDeleteReq) GetId() int64

func (*ApiDeleteReq) ProtoMessage added in v0.3.1

func (*ApiDeleteReq) ProtoMessage()

func (*ApiDeleteReq) ProtoReflect added in v0.3.1

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

func (*ApiDeleteReq) Reset added in v0.3.1

func (x *ApiDeleteReq) Reset()

func (*ApiDeleteReq) String added in v0.3.1

func (x *ApiDeleteReq) String() string

type ApiIndexReq added in v0.3.1

type ApiIndexReq struct {
	Page   *PageInfo `protobuf:"bytes,1,opt,name=page,proto3" json:"page,omitempty"`      // 分页信息
	Route  string    `protobuf:"bytes,2,opt,name=route,proto3" json:"route,omitempty"`    // 接口路由
	Method int64     `protobuf:"varint,3,opt,name=method,proto3" json:"method,omitempty"` // 接口请求方式: POST GET
	Group  string    `protobuf:"bytes,4,opt,name=group,proto3" json:"group,omitempty"`    // 接口分组
	Name   string    `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"`      // 接口名称
	// contains filtered or unexported fields
}

func (*ApiIndexReq) Descriptor deprecated added in v0.3.1

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

Deprecated: Use ApiIndexReq.ProtoReflect.Descriptor instead.

func (*ApiIndexReq) GetGroup added in v0.3.1

func (x *ApiIndexReq) GetGroup() string

func (*ApiIndexReq) GetMethod added in v0.3.1

func (x *ApiIndexReq) GetMethod() int64

func (*ApiIndexReq) GetName added in v0.3.1

func (x *ApiIndexReq) GetName() string

func (*ApiIndexReq) GetPage added in v0.3.1

func (x *ApiIndexReq) GetPage() *PageInfo

func (*ApiIndexReq) GetRoute added in v0.3.1

func (x *ApiIndexReq) GetRoute() string

func (*ApiIndexReq) ProtoMessage added in v0.3.1

func (*ApiIndexReq) ProtoMessage()

func (*ApiIndexReq) ProtoReflect added in v0.3.1

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

func (*ApiIndexReq) Reset added in v0.3.1

func (x *ApiIndexReq) Reset()

func (*ApiIndexReq) String added in v0.3.1

func (x *ApiIndexReq) String() string

type ApiIndexResp added in v0.3.1

type ApiIndexResp struct {
	List  []*ApiData `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"`    // 接口列表数据
	Total int64      `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"` // 接口列表总记录数
	// contains filtered or unexported fields
}

func (*ApiIndexResp) Descriptor deprecated added in v0.3.1

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

Deprecated: Use ApiIndexResp.ProtoReflect.Descriptor instead.

func (*ApiIndexResp) GetList added in v0.3.1

func (x *ApiIndexResp) GetList() []*ApiData

func (*ApiIndexResp) GetTotal added in v0.3.1

func (x *ApiIndexResp) GetTotal() int64

func (*ApiIndexResp) ProtoMessage added in v0.3.1

func (*ApiIndexResp) ProtoMessage()

func (*ApiIndexResp) ProtoReflect added in v0.3.1

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

func (*ApiIndexResp) Reset added in v0.3.1

func (x *ApiIndexResp) Reset()

func (*ApiIndexResp) String added in v0.3.1

func (x *ApiIndexResp) String() string

type ApiServer added in v0.3.1

type ApiServer interface {
	ApiCreate(context.Context, *ApiCreateReq) (*Response, error)
	ApiIndex(context.Context, *ApiIndexReq) (*ApiIndexResp, error)
	ApiUpdate(context.Context, *ApiUpdateReq) (*Response, error)
	ApiDelete(context.Context, *ApiDeleteReq) (*Response, error)
	// contains filtered or unexported methods
}

ApiServer is the server API for Api service. All implementations must embed UnimplementedApiServer for forward compatibility

type ApiUpdateReq added in v0.3.1

type ApiUpdateReq struct {
	Id     int64  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`         // 接口编号
	Route  string `protobuf:"bytes,2,opt,name=route,proto3" json:"route,omitempty"`    // 接口路由
	Method int64  `protobuf:"varint,3,opt,name=method,proto3" json:"method,omitempty"` // 接口请求方式: POST GET
	Group  string `protobuf:"bytes,4,opt,name=group,proto3" json:"group,omitempty"`    // 接口分组
	Name   string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"`      // 接口名称
	// contains filtered or unexported fields
}

func (*ApiUpdateReq) Descriptor deprecated added in v0.3.1

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

Deprecated: Use ApiUpdateReq.ProtoReflect.Descriptor instead.

func (*ApiUpdateReq) GetGroup added in v0.3.1

func (x *ApiUpdateReq) GetGroup() string

func (*ApiUpdateReq) GetId added in v0.3.1

func (x *ApiUpdateReq) GetId() int64

func (*ApiUpdateReq) GetMethod added in v0.3.1

func (x *ApiUpdateReq) GetMethod() int64

func (*ApiUpdateReq) GetName added in v0.3.1

func (x *ApiUpdateReq) GetName() string

func (*ApiUpdateReq) GetRoute added in v0.3.1

func (x *ApiUpdateReq) GetRoute() string

func (*ApiUpdateReq) ProtoMessage added in v0.3.1

func (*ApiUpdateReq) ProtoMessage()

func (*ApiUpdateReq) ProtoReflect added in v0.3.1

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

func (*ApiUpdateReq) Reset added in v0.3.1

func (x *ApiUpdateReq) Reset()

func (*ApiUpdateReq) String added in v0.3.1

func (x *ApiUpdateReq) String() string

type AuthApiInfo added in v0.5.1

type AuthApiInfo struct {
	Route  string `protobuf:"bytes,1,opt,name=route,proto3" json:"route,omitempty"`
	Method int64  `protobuf:"varint,2,opt,name=method,proto3" json:"method,omitempty"`
	// contains filtered or unexported fields
}

func (*AuthApiInfo) Descriptor deprecated added in v0.5.1

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

Deprecated: Use AuthApiInfo.ProtoReflect.Descriptor instead.

func (*AuthApiInfo) GetMethod added in v0.5.1

func (x *AuthApiInfo) GetMethod() int64

func (*AuthApiInfo) GetRoute added in v0.5.1

func (x *AuthApiInfo) GetRoute() string

func (*AuthApiInfo) ProtoMessage added in v0.5.1

func (*AuthApiInfo) ProtoMessage()

func (*AuthApiInfo) ProtoReflect added in v0.5.1

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

func (*AuthApiInfo) Reset added in v0.5.1

func (x *AuthApiInfo) Reset()

func (*AuthApiInfo) String added in v0.5.1

func (x *AuthApiInfo) String() string

type CommonClient added in v0.3.0

type CommonClient interface {
	Config(ctx context.Context, in *Response, opts ...grpc.CallOption) (*ConfigResp, error)
}

CommonClient is the client API for Common 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.

func NewCommonClient added in v0.3.0

func NewCommonClient(cc grpc.ClientConnInterface) CommonClient

type CommonServer added in v0.3.0

type CommonServer interface {
	Config(context.Context, *Response) (*ConfigResp, error)
	// contains filtered or unexported methods
}

CommonServer is the server API for Common service. All implementations must embed UnimplementedCommonServer for forward compatibility

type ConfigResp added in v0.3.0

type ConfigResp struct {
	Map *Map `protobuf:"bytes,1,opt,name=map,proto3" json:"map,omitempty"` //设备地图相关配置
	// contains filtered or unexported fields
}

func (*ConfigResp) Descriptor deprecated added in v0.3.0

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

Deprecated: Use ConfigResp.ProtoReflect.Descriptor instead.

func (*ConfigResp) GetMap added in v0.3.0

func (x *ConfigResp) GetMap() *Map

func (*ConfigResp) ProtoMessage added in v0.3.0

func (*ConfigResp) ProtoMessage()

func (*ConfigResp) ProtoReflect added in v0.3.0

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

func (*ConfigResp) Reset added in v0.3.0

func (x *ConfigResp) Reset()

func (*ConfigResp) String added in v0.3.0

func (x *ConfigResp) String() string

type DateRange added in v0.3.1

type DateRange struct {
	Start string `protobuf:"bytes,1,opt,name=start,proto3" json:"start,omitempty"`
	End   string `protobuf:"bytes,2,opt,name=end,proto3" json:"end,omitempty"`
	// contains filtered or unexported fields
}

func (*DateRange) Descriptor deprecated added in v0.3.1

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

Deprecated: Use DateRange.ProtoReflect.Descriptor instead.

func (*DateRange) GetEnd added in v0.3.1

func (x *DateRange) GetEnd() string

func (*DateRange) GetStart added in v0.3.1

func (x *DateRange) GetStart() string

func (*DateRange) ProtoMessage added in v0.3.1

func (*DateRange) ProtoMessage()

func (*DateRange) ProtoReflect added in v0.3.1

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

func (*DateRange) Reset added in v0.3.1

func (x *DateRange) Reset()

func (*DateRange) String added in v0.3.1

func (x *DateRange) String() string

type JwtToken

type JwtToken struct {
	AccessToken  string `protobuf:"bytes,1,opt,name=accessToken,proto3" json:"accessToken,omitempty"`
	AccessExpire int64  `protobuf:"varint,2,opt,name=accessExpire,proto3" json:"accessExpire,omitempty"`
	RefreshAfter int64  `protobuf:"varint,3,opt,name=refreshAfter,proto3" json:"refreshAfter,omitempty"`
	// contains filtered or unexported fields
}

func (*JwtToken) Descriptor deprecated

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

Deprecated: Use JwtToken.ProtoReflect.Descriptor instead.

func (*JwtToken) GetAccessExpire

func (x *JwtToken) GetAccessExpire() int64

func (*JwtToken) GetAccessToken

func (x *JwtToken) GetAccessToken() string

func (*JwtToken) GetRefreshAfter

func (x *JwtToken) GetRefreshAfter() int64

func (*JwtToken) ProtoMessage

func (*JwtToken) ProtoMessage()

func (*JwtToken) ProtoReflect

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

func (*JwtToken) Reset

func (x *JwtToken) Reset()

func (*JwtToken) String

func (x *JwtToken) String() string

type LogClient added in v0.3.1

type LogClient interface {
	LoginLogIndex(ctx context.Context, in *LoginLogIndexReq, opts ...grpc.CallOption) (*LoginLogIndexResp, error)
	OperLogIndex(ctx context.Context, in *OperLogIndexReq, opts ...grpc.CallOption) (*OperLogIndexResp, error)
	LoginLogCreate(ctx context.Context, in *LoginLogCreateReq, opts ...grpc.CallOption) (*Response, error)
	OperLogCreate(ctx context.Context, in *OperLogCreateReq, opts ...grpc.CallOption) (*Response, error)
}

LogClient is the client API for Log 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.

func NewLogClient added in v0.3.1

func NewLogClient(cc grpc.ClientConnInterface) LogClient

type LogServer added in v0.3.1

type LogServer interface {
	LoginLogIndex(context.Context, *LoginLogIndexReq) (*LoginLogIndexResp, error)
	OperLogIndex(context.Context, *OperLogIndexReq) (*OperLogIndexResp, error)
	LoginLogCreate(context.Context, *LoginLogCreateReq) (*Response, error)
	OperLogCreate(context.Context, *OperLogCreateReq) (*Response, error)
	// contains filtered or unexported methods
}

LogServer is the server API for Log service. All implementations must embed UnimplementedLogServer for forward compatibility

type LoginLogCreateReq added in v0.3.1

type LoginLogCreateReq struct {
	UserID        int64  `protobuf:"varint,1,opt,name=userID,proto3" json:"userID,omitempty"`              // 用户id
	UserName      string `protobuf:"bytes,2,opt,name=userName,proto3" json:"userName,omitempty"`           // 登录账号
	IpAddr        string `protobuf:"bytes,3,opt,name=ipAddr,proto3" json:"ipAddr,omitempty"`               // 登录IP地址
	LoginLocation string `protobuf:"bytes,4,opt,name=loginLocation,proto3" json:"loginLocation,omitempty"` // 登录地点
	Browser       string `protobuf:"bytes,5,opt,name=browser,proto3" json:"browser,omitempty"`             // 浏览器
	Os            string `protobuf:"bytes,6,opt,name=os,proto3" json:"os,omitempty"`                       // 操作系统
	Code          int64  `protobuf:"varint,7,opt,name=code,proto3" json:"code,omitempty"`                  // 登录状态(200成功 其它失败)
	Msg           string `protobuf:"bytes,8,opt,name=msg,proto3" json:"msg,omitempty"`                     // 提示消息
	// contains filtered or unexported fields
}

func (*LoginLogCreateReq) Descriptor deprecated added in v0.3.1

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

Deprecated: Use LoginLogCreateReq.ProtoReflect.Descriptor instead.

func (*LoginLogCreateReq) GetBrowser added in v0.3.1

func (x *LoginLogCreateReq) GetBrowser() string

func (*LoginLogCreateReq) GetCode added in v0.3.1

func (x *LoginLogCreateReq) GetCode() int64

func (*LoginLogCreateReq) GetIpAddr added in v0.3.1

func (x *LoginLogCreateReq) GetIpAddr() string

func (*LoginLogCreateReq) GetLoginLocation added in v0.3.1

func (x *LoginLogCreateReq) GetLoginLocation() string

func (*LoginLogCreateReq) GetMsg added in v0.3.1

func (x *LoginLogCreateReq) GetMsg() string

func (*LoginLogCreateReq) GetOs added in v0.3.1

func (x *LoginLogCreateReq) GetOs() string

func (*LoginLogCreateReq) GetUserID added in v0.5.1

func (x *LoginLogCreateReq) GetUserID() int64

func (*LoginLogCreateReq) GetUserName added in v0.3.1

func (x *LoginLogCreateReq) GetUserName() string

func (*LoginLogCreateReq) ProtoMessage added in v0.3.1

func (*LoginLogCreateReq) ProtoMessage()

func (*LoginLogCreateReq) ProtoReflect added in v0.3.1

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

func (*LoginLogCreateReq) Reset added in v0.3.1

func (x *LoginLogCreateReq) Reset()

func (*LoginLogCreateReq) String added in v0.3.1

func (x *LoginLogCreateReq) String() string

type LoginLogIndexData added in v0.3.1

type LoginLogIndexData struct {
	UserID        int64  `protobuf:"varint,1,opt,name=userID,proto3" json:"userID,omitempty"`              // 用户id
	UserName      string `protobuf:"bytes,2,opt,name=userName,proto3" json:"userName,omitempty"`           // 登录账号
	IpAddr        string `protobuf:"bytes,3,opt,name=ipAddr,proto3" json:"ipAddr,omitempty"`               // 登录IP地址
	LoginLocation string `protobuf:"bytes,4,opt,name=loginLocation,proto3" json:"loginLocation,omitempty"` // 登录地点
	Browser       string `protobuf:"bytes,5,opt,name=browser,proto3" json:"browser,omitempty"`             // 浏览器
	Os            string `protobuf:"bytes,6,opt,name=os,proto3" json:"os,omitempty"`                       // 操作系统
	Code          int64  `protobuf:"varint,7,opt,name=code,proto3" json:"code,omitempty"`                  // 登录状态(200成功 其它失败)
	Msg           string `protobuf:"bytes,8,opt,name=msg,proto3" json:"msg,omitempty"`                     // 提示消息
	CreatedTime   int64  `protobuf:"varint,9,opt,name=createdTime,proto3" json:"createdTime,omitempty"`    // 登录时间
	// contains filtered or unexported fields
}

func (*LoginLogIndexData) Descriptor deprecated added in v0.3.1

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

Deprecated: Use LoginLogIndexData.ProtoReflect.Descriptor instead.

func (*LoginLogIndexData) GetBrowser added in v0.3.1

func (x *LoginLogIndexData) GetBrowser() string

func (*LoginLogIndexData) GetCode added in v0.3.1

func (x *LoginLogIndexData) GetCode() int64

func (*LoginLogIndexData) GetCreatedTime added in v0.3.1

func (x *LoginLogIndexData) GetCreatedTime() int64

func (*LoginLogIndexData) GetIpAddr added in v0.3.1

func (x *LoginLogIndexData) GetIpAddr() string

func (*LoginLogIndexData) GetLoginLocation added in v0.3.1

func (x *LoginLogIndexData) GetLoginLocation() string

func (*LoginLogIndexData) GetMsg added in v0.3.1

func (x *LoginLogIndexData) GetMsg() string

func (*LoginLogIndexData) GetOs added in v0.3.1

func (x *LoginLogIndexData) GetOs() string

func (*LoginLogIndexData) GetUserID added in v0.5.1

func (x *LoginLogIndexData) GetUserID() int64

func (*LoginLogIndexData) GetUserName added in v0.3.1

func (x *LoginLogIndexData) GetUserName() string

func (*LoginLogIndexData) ProtoMessage added in v0.3.1

func (*LoginLogIndexData) ProtoMessage()

func (*LoginLogIndexData) ProtoReflect added in v0.3.1

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

func (*LoginLogIndexData) Reset added in v0.3.1

func (x *LoginLogIndexData) Reset()

func (*LoginLogIndexData) String added in v0.3.1

func (x *LoginLogIndexData) String() string

type LoginLogIndexReq added in v0.3.1

type LoginLogIndexReq struct {
	Page          *PageInfo  `protobuf:"bytes,1,opt,name=page,proto3" json:"page,omitempty"`                   // 分页信息 只获取一个则不填
	IpAddr        string     `protobuf:"bytes,2,opt,name=ipAddr,proto3" json:"ipAddr,omitempty"`               // 登录IP地址
	LoginLocation string     `protobuf:"bytes,3,opt,name=loginLocation,proto3" json:"loginLocation,omitempty"` // 登录地点
	Date          *DateRange `protobuf:"bytes,4,opt,name=date,proto3" json:"date,omitempty"`                   // 时间范围
	// contains filtered or unexported fields
}

func (*LoginLogIndexReq) Descriptor deprecated added in v0.3.1

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

Deprecated: Use LoginLogIndexReq.ProtoReflect.Descriptor instead.

func (*LoginLogIndexReq) GetDate added in v0.3.1

func (x *LoginLogIndexReq) GetDate() *DateRange

func (*LoginLogIndexReq) GetIpAddr added in v0.3.1

func (x *LoginLogIndexReq) GetIpAddr() string

func (*LoginLogIndexReq) GetLoginLocation added in v0.3.1

func (x *LoginLogIndexReq) GetLoginLocation() string

func (*LoginLogIndexReq) GetPage added in v0.3.1

func (x *LoginLogIndexReq) GetPage() *PageInfo

func (*LoginLogIndexReq) ProtoMessage added in v0.3.1

func (*LoginLogIndexReq) ProtoMessage()

func (*LoginLogIndexReq) ProtoReflect added in v0.3.1

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

func (*LoginLogIndexReq) Reset added in v0.3.1

func (x *LoginLogIndexReq) Reset()

func (*LoginLogIndexReq) String added in v0.3.1

func (x *LoginLogIndexReq) String() string

type LoginLogIndexResp added in v0.3.1

type LoginLogIndexResp struct {
	Info  []*LoginLogIndexData `protobuf:"bytes,1,rep,name=info,proto3" json:"info,omitempty"`
	Total int64                `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"` //总记录数
	// contains filtered or unexported fields
}

func (*LoginLogIndexResp) Descriptor deprecated added in v0.3.1

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

Deprecated: Use LoginLogIndexResp.ProtoReflect.Descriptor instead.

func (*LoginLogIndexResp) GetInfo added in v0.3.1

func (x *LoginLogIndexResp) GetInfo() []*LoginLogIndexData

func (*LoginLogIndexResp) GetTotal added in v0.3.1

func (x *LoginLogIndexResp) GetTotal() int64

func (*LoginLogIndexResp) ProtoMessage added in v0.3.1

func (*LoginLogIndexResp) ProtoMessage()

func (*LoginLogIndexResp) ProtoReflect added in v0.3.1

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

func (*LoginLogIndexResp) Reset added in v0.3.1

func (x *LoginLogIndexResp) Reset()

func (*LoginLogIndexResp) String added in v0.3.1

func (x *LoginLogIndexResp) String() string

type Map added in v0.3.0

type Map struct {
	Mode      string `protobuf:"bytes,1,opt,name=mode,proto3" json:"mode,omitempty"`           //坐标系 默认百度坐标系
	AccessKey string `protobuf:"bytes,2,opt,name=accessKey,proto3" json:"accessKey,omitempty"` //设备地图key
	// contains filtered or unexported fields
}

func (*Map) Descriptor deprecated added in v0.3.0

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

Deprecated: Use Map.ProtoReflect.Descriptor instead.

func (*Map) GetAccessKey added in v0.3.0

func (x *Map) GetAccessKey() string

func (*Map) GetMode added in v0.3.0

func (x *Map) GetMode() string

func (*Map) ProtoMessage added in v0.3.0

func (*Map) ProtoMessage()

func (*Map) ProtoReflect added in v0.3.0

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

func (*Map) Reset added in v0.3.0

func (x *Map) Reset()

func (*Map) String added in v0.3.0

func (x *Map) String() string
type MenuClient interface {
	MenuCreate(ctx context.Context, in *MenuCreateReq, opts ...grpc.CallOption) (*Response, error)
	MenuIndex(ctx context.Context, in *MenuIndexReq, opts ...grpc.CallOption) (*MenuIndexResp, error)
	MenuUpdate(ctx context.Context, in *MenuUpdateReq, opts ...grpc.CallOption) (*Response, error)
	MenuDelete(ctx context.Context, in *MenuDeleteReq, opts ...grpc.CallOption) (*Response, error)
}

MenuClient is the client API for Menu 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.

func NewMenuClient

func NewMenuClient(cc grpc.ClientConnInterface) MenuClient
type MenuCreateReq struct {
	Name       string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	ParentID   int64  `protobuf:"varint,2,opt,name=parentID,proto3" json:"parentID,omitempty"`
	Type       int64  `protobuf:"varint,3,opt,name=type,proto3" json:"type,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"`
	Icon       string `protobuf:"bytes,6,opt,name=icon,proto3" json:"icon,omitempty"`
	Redirect   string `protobuf:"bytes,7,opt,name=redirect,proto3" json:"redirect,omitempty"`
	Order      int64  `protobuf:"varint,8,opt,name=order,proto3" json:"order,omitempty"`
	HideInMenu int64  `protobuf:"varint,9,opt,name=hideInMenu,proto3" json:"hideInMenu,omitempty"`
	Role       int64  `protobuf:"varint,10,opt,name=role,proto3" json:"role,omitempty"`
	// contains filtered or unexported fields
}

菜单相关信息

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

Deprecated: Use MenuCreateReq.ProtoReflect.Descriptor instead.

func (x *MenuCreateReq) GetComponent() string
func (x *MenuCreateReq) GetHideInMenu() int64
func (x *MenuCreateReq) GetIcon() string
func (x *MenuCreateReq) GetName() string
func (x *MenuCreateReq) GetOrder() int64
func (x *MenuCreateReq) GetParentID() int64
func (x *MenuCreateReq) GetPath() string
func (x *MenuCreateReq) GetRedirect() string
func (x *MenuCreateReq) GetRole() int64
func (x *MenuCreateReq) GetType() int64
func (*MenuCreateReq) ProtoMessage()
func (x *MenuCreateReq) ProtoReflect() protoreflect.Message
func (x *MenuCreateReq) Reset()
func (x *MenuCreateReq) String() string
type MenuData struct {
	Id         int64  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Name       string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	ParentID   int64  `protobuf:"varint,3,opt,name=parentID,proto3" json:"parentID,omitempty"`
	Type       int64  `protobuf:"varint,4,opt,name=type,proto3" json:"type,omitempty"`
	Path       string `protobuf:"bytes,5,opt,name=path,proto3" json:"path,omitempty"`
	Component  string `protobuf:"bytes,6,opt,name=component,proto3" json:"component,omitempty"`
	Icon       string `protobuf:"bytes,7,opt,name=icon,proto3" json:"icon,omitempty"`
	Redirect   string `protobuf:"bytes,8,opt,name=redirect,proto3" json:"redirect,omitempty"`
	CreateTime int64  `protobuf:"varint,9,opt,name=createTime,proto3" json:"createTime,omitempty"`
	Order      int64  `protobuf:"varint,10,opt,name=order,proto3" json:"order,omitempty"`
	HideInMenu int64  `protobuf:"varint,11,opt,name=hideInMenu,proto3" json:"hideInMenu,omitempty"`
	// contains filtered or unexported fields
}
func (*MenuData) Descriptor() ([]byte, []int)

Deprecated: Use MenuData.ProtoReflect.Descriptor instead.

func (x *MenuData) GetComponent() string
func (x *MenuData) GetCreateTime() int64
func (x *MenuData) GetHideInMenu() int64
func (x *MenuData) GetIcon() string
func (x *MenuData) GetId() int64
func (x *MenuData) GetName() string
func (x *MenuData) GetOrder() int64
func (x *MenuData) GetParentID() int64
func (x *MenuData) GetPath() string
func (x *MenuData) GetRedirect() string
func (x *MenuData) GetType() int64
func (*MenuData) ProtoMessage()
func (x *MenuData) ProtoReflect() protoreflect.Message
func (x *MenuData) Reset()
func (x *MenuData) String() string
type MenuDeleteReq struct {
	Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}
func (*MenuDeleteReq) Descriptor() ([]byte, []int)

Deprecated: Use MenuDeleteReq.ProtoReflect.Descriptor instead.

func (x *MenuDeleteReq) GetId() int64
func (*MenuDeleteReq) ProtoMessage()
func (x *MenuDeleteReq) ProtoReflect() protoreflect.Message
func (x *MenuDeleteReq) Reset()
func (x *MenuDeleteReq) String() string
type MenuIndexReq struct {
	Role int64  `protobuf:"varint,1,opt,name=role,proto3" json:"role,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"`
	// contains filtered or unexported fields
}
func (*MenuIndexReq) Descriptor() ([]byte, []int)

Deprecated: Use MenuIndexReq.ProtoReflect.Descriptor instead.

func (x *MenuIndexReq) GetName() string
func (x *MenuIndexReq) GetPath() string
func (x *MenuIndexReq) GetRole() int64
func (*MenuIndexReq) ProtoMessage()
func (x *MenuIndexReq) ProtoReflect() protoreflect.Message
func (x *MenuIndexReq) Reset()
func (x *MenuIndexReq) String() string
type MenuIndexResp struct {
	List []*MenuData `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"`
	// contains filtered or unexported fields
}
func (*MenuIndexResp) Descriptor() ([]byte, []int)

Deprecated: Use MenuIndexResp.ProtoReflect.Descriptor instead.

func (x *MenuIndexResp) GetList() []*MenuData
func (*MenuIndexResp) ProtoMessage()
func (x *MenuIndexResp) ProtoReflect() protoreflect.Message
func (x *MenuIndexResp) Reset()
func (x *MenuIndexResp) String() string
type MenuServer interface {
	MenuCreate(context.Context, *MenuCreateReq) (*Response, error)
	MenuIndex(context.Context, *MenuIndexReq) (*MenuIndexResp, error)
	MenuUpdate(context.Context, *MenuUpdateReq) (*Response, error)
	MenuDelete(context.Context, *MenuDeleteReq) (*Response, error)
	// contains filtered or unexported methods
}

MenuServer is the server API for Menu service. All implementations must embed UnimplementedMenuServer for forward compatibility

type MenuUpdateReq struct {
	Id         int64  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Name       string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	ParentID   int64  `protobuf:"varint,3,opt,name=parentID,proto3" json:"parentID,omitempty"`
	Type       int64  `protobuf:"varint,4,opt,name=type,proto3" json:"type,omitempty"`
	Path       string `protobuf:"bytes,5,opt,name=path,proto3" json:"path,omitempty"`
	Component  string `protobuf:"bytes,6,opt,name=component,proto3" json:"component,omitempty"`
	Icon       string `protobuf:"bytes,7,opt,name=icon,proto3" json:"icon,omitempty"`
	Redirect   string `protobuf:"bytes,8,opt,name=redirect,proto3" json:"redirect,omitempty"`
	Order      int64  `protobuf:"varint,9,opt,name=order,proto3" json:"order,omitempty"`
	HideInMenu int64  `protobuf:"varint,10,opt,name=hideInMenu,proto3" json:"hideInMenu,omitempty"`
	// contains filtered or unexported fields
}
func (*MenuUpdateReq) Descriptor() ([]byte, []int)

Deprecated: Use MenuUpdateReq.ProtoReflect.Descriptor instead.

func (x *MenuUpdateReq) GetComponent() string
func (x *MenuUpdateReq) GetHideInMenu() int64
func (x *MenuUpdateReq) GetIcon() string
func (x *MenuUpdateReq) GetId() int64
func (x *MenuUpdateReq) GetName() string
func (x *MenuUpdateReq) GetOrder() int64
func (x *MenuUpdateReq) GetParentID() int64
func (x *MenuUpdateReq) GetPath() string
func (x *MenuUpdateReq) GetRedirect() string
func (x *MenuUpdateReq) GetType() int64
func (*MenuUpdateReq) ProtoMessage()
func (x *MenuUpdateReq) ProtoReflect() protoreflect.Message
func (x *MenuUpdateReq) Reset()
func (x *MenuUpdateReq) String() string

type OperLogCreateReq added in v0.3.1

type OperLogCreateReq struct {
	UserID       int64  `protobuf:"varint,1,opt,name=userID,proto3" json:"userID,omitempty"`             //用户id
	OperUserName string `protobuf:"bytes,2,opt,name=operUserName,proto3" json:"operUserName,omitempty"`  //操作人员名称
	OperName     string `protobuf:"bytes,3,opt,name=operName,proto3" json:"operName,omitempty"`          //操作名称
	BusinessType int64  `protobuf:"varint,4,opt,name=businessType,proto3" json:"businessType,omitempty"` //业务类型(1新增 2修改 3删除 4查询)
	Uri          string `protobuf:"bytes,5,opt,name=uri,proto3" json:"uri,omitempty"`                    //请求地址
	Route        string `protobuf:"bytes,6,opt,name=route,proto3" json:"route,omitempty"`                //接口路由
	OperIpAddr   string `protobuf:"bytes,7,opt,name=operIpAddr,proto3" json:"operIpAddr,omitempty"`      //操作主机地址
	OperLocation string `protobuf:"bytes,8,opt,name=operLocation,proto3" json:"operLocation,omitempty"`  //操作地点
	Req          string `protobuf:"bytes,9,opt,name=req,proto3" json:"req,omitempty"`                    //请求参数
	Resp         string `protobuf:"bytes,10,opt,name=resp,proto3" json:"resp,omitempty"`                 //返回参数
	Code         int64  `protobuf:"varint,11,opt,name=code,proto3" json:"code,omitempty"`                //返回状态(200成功 其它失败)
	Msg          string `protobuf:"bytes,12,opt,name=msg,proto3" json:"msg,omitempty"`                   //提示消息
	// contains filtered or unexported fields
}

func (*OperLogCreateReq) Descriptor deprecated added in v0.3.1

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

Deprecated: Use OperLogCreateReq.ProtoReflect.Descriptor instead.

func (*OperLogCreateReq) GetBusinessType added in v0.3.1

func (x *OperLogCreateReq) GetBusinessType() int64

func (*OperLogCreateReq) GetCode added in v0.3.1

func (x *OperLogCreateReq) GetCode() int64

func (*OperLogCreateReq) GetMsg added in v0.3.1

func (x *OperLogCreateReq) GetMsg() string

func (*OperLogCreateReq) GetOperIpAddr added in v0.3.1

func (x *OperLogCreateReq) GetOperIpAddr() string

func (*OperLogCreateReq) GetOperLocation added in v0.3.1

func (x *OperLogCreateReq) GetOperLocation() string

func (*OperLogCreateReq) GetOperName added in v0.3.1

func (x *OperLogCreateReq) GetOperName() string

func (*OperLogCreateReq) GetOperUserName added in v0.3.1

func (x *OperLogCreateReq) GetOperUserName() string

func (*OperLogCreateReq) GetReq added in v0.3.1

func (x *OperLogCreateReq) GetReq() string

func (*OperLogCreateReq) GetResp added in v0.3.1

func (x *OperLogCreateReq) GetResp() string

func (*OperLogCreateReq) GetRoute added in v0.3.1

func (x *OperLogCreateReq) GetRoute() string

func (*OperLogCreateReq) GetUri added in v0.3.1

func (x *OperLogCreateReq) GetUri() string

func (*OperLogCreateReq) GetUserID added in v0.5.1

func (x *OperLogCreateReq) GetUserID() int64

func (*OperLogCreateReq) ProtoMessage added in v0.3.1

func (*OperLogCreateReq) ProtoMessage()

func (*OperLogCreateReq) ProtoReflect added in v0.3.1

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

func (*OperLogCreateReq) Reset added in v0.3.1

func (x *OperLogCreateReq) Reset()

func (*OperLogCreateReq) String added in v0.3.1

func (x *OperLogCreateReq) String() string

type OperLogIndexData added in v0.3.1

type OperLogIndexData struct {
	UserID       int64  `protobuf:"varint,1,opt,name=userID,proto3" json:"userID,omitempty"`             //用户id
	OperUserName string `protobuf:"bytes,2,opt,name=operUserName,proto3" json:"operUserName,omitempty"`  //操作人员名称
	OperName     string `protobuf:"bytes,3,opt,name=operName,proto3" json:"operName,omitempty"`          //操作名称
	BusinessType int64  `protobuf:"varint,4,opt,name=businessType,proto3" json:"businessType,omitempty"` //业务类型(1新增 2修改 3删除 4查询)
	Uri          string `protobuf:"bytes,5,opt,name=uri,proto3" json:"uri,omitempty"`                    //请求地址
	OperIpAddr   string `protobuf:"bytes,6,opt,name=operIpAddr,proto3" json:"operIpAddr,omitempty"`      //操作主机地址
	OperLocation string `protobuf:"bytes,7,opt,name=operLocation,proto3" json:"operLocation,omitempty"`  //操作地点
	Req          string `protobuf:"bytes,8,opt,name=req,proto3" json:"req,omitempty"`                    //请求参数
	Resp         string `protobuf:"bytes,9,opt,name=resp,proto3" json:"resp,omitempty"`                  //返回参数
	Code         int64  `protobuf:"varint,10,opt,name=code,proto3" json:"code,omitempty"`                //登录状态(200成功 其它失败)
	Msg          string `protobuf:"bytes,11,opt,name=msg,proto3" json:"msg,omitempty"`                   //提示消息
	CreatedTime  int64  `protobuf:"varint,12,opt,name=createdTime,proto3" json:"createdTime,omitempty"`  //操作时间
	// contains filtered or unexported fields
}

func (*OperLogIndexData) Descriptor deprecated added in v0.3.1

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

Deprecated: Use OperLogIndexData.ProtoReflect.Descriptor instead.

func (*OperLogIndexData) GetBusinessType added in v0.3.1

func (x *OperLogIndexData) GetBusinessType() int64

func (*OperLogIndexData) GetCode added in v0.3.1

func (x *OperLogIndexData) GetCode() int64

func (*OperLogIndexData) GetCreatedTime added in v0.3.1

func (x *OperLogIndexData) GetCreatedTime() int64

func (*OperLogIndexData) GetMsg added in v0.3.1

func (x *OperLogIndexData) GetMsg() string

func (*OperLogIndexData) GetOperIpAddr added in v0.3.1

func (x *OperLogIndexData) GetOperIpAddr() string

func (*OperLogIndexData) GetOperLocation added in v0.3.1

func (x *OperLogIndexData) GetOperLocation() string

func (*OperLogIndexData) GetOperName added in v0.3.1

func (x *OperLogIndexData) GetOperName() string

func (*OperLogIndexData) GetOperUserName added in v0.3.1

func (x *OperLogIndexData) GetOperUserName() string

func (*OperLogIndexData) GetReq added in v0.3.1

func (x *OperLogIndexData) GetReq() string

func (*OperLogIndexData) GetResp added in v0.3.1

func (x *OperLogIndexData) GetResp() string

func (*OperLogIndexData) GetUri added in v0.3.1

func (x *OperLogIndexData) GetUri() string

func (*OperLogIndexData) GetUserID added in v0.5.1

func (x *OperLogIndexData) GetUserID() int64

func (*OperLogIndexData) ProtoMessage added in v0.3.1

func (*OperLogIndexData) ProtoMessage()

func (*OperLogIndexData) ProtoReflect added in v0.3.1

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

func (*OperLogIndexData) Reset added in v0.3.1

func (x *OperLogIndexData) Reset()

func (*OperLogIndexData) String added in v0.3.1

func (x *OperLogIndexData) String() string

type OperLogIndexReq added in v0.3.1

type OperLogIndexReq struct {
	Page         *PageInfo `protobuf:"bytes,1,opt,name=page,proto3" json:"page,omitempty"`                  //分页信息 只获取一个则不填
	OperName     string    `protobuf:"bytes,2,opt,name=operName,proto3" json:"operName,omitempty"`          //按操作名称查找
	OperUserName string    `protobuf:"bytes,3,opt,name=operUserName,proto3" json:"operUserName,omitempty"`  //按操作人员名称查找
	BusinessType int64     `protobuf:"varint,4,opt,name=businessType,proto3" json:"businessType,omitempty"` //按业务类型(1新增 2修改 3删除 4查询)查找
	// contains filtered or unexported fields
}

func (*OperLogIndexReq) Descriptor deprecated added in v0.3.1

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

Deprecated: Use OperLogIndexReq.ProtoReflect.Descriptor instead.

func (*OperLogIndexReq) GetBusinessType added in v0.3.1

func (x *OperLogIndexReq) GetBusinessType() int64

func (*OperLogIndexReq) GetOperName added in v0.3.1

func (x *OperLogIndexReq) GetOperName() string

func (*OperLogIndexReq) GetOperUserName added in v0.3.1

func (x *OperLogIndexReq) GetOperUserName() string

func (*OperLogIndexReq) GetPage added in v0.3.1

func (x *OperLogIndexReq) GetPage() *PageInfo

func (*OperLogIndexReq) ProtoMessage added in v0.3.1

func (*OperLogIndexReq) ProtoMessage()

func (*OperLogIndexReq) ProtoReflect added in v0.3.1

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

func (*OperLogIndexReq) Reset added in v0.3.1

func (x *OperLogIndexReq) Reset()

func (*OperLogIndexReq) String added in v0.3.1

func (x *OperLogIndexReq) String() string

type OperLogIndexResp added in v0.3.1

type OperLogIndexResp struct {
	Info  []*OperLogIndexData `protobuf:"bytes,1,rep,name=info,proto3" json:"info,omitempty"`
	Total int64               `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"` //总记录数
	// contains filtered or unexported fields
}

func (*OperLogIndexResp) Descriptor deprecated added in v0.3.1

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

Deprecated: Use OperLogIndexResp.ProtoReflect.Descriptor instead.

func (*OperLogIndexResp) GetInfo added in v0.3.1

func (x *OperLogIndexResp) GetInfo() []*OperLogIndexData

func (*OperLogIndexResp) GetTotal added in v0.3.1

func (x *OperLogIndexResp) GetTotal() int64

func (*OperLogIndexResp) ProtoMessage added in v0.3.1

func (*OperLogIndexResp) ProtoMessage()

func (*OperLogIndexResp) ProtoReflect added in v0.3.1

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

func (*OperLogIndexResp) Reset added in v0.3.1

func (x *OperLogIndexResp) Reset()

func (*OperLogIndexResp) String added in v0.3.1

func (x *OperLogIndexResp) String() string

type PageInfo

type PageInfo struct {
	Page int64 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"`
	Size int64 `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"`
	//排序信息
	Orders []*PageInfo_OrderBy `protobuf:"bytes,3,rep,name=orders,proto3" json:"orders,omitempty"`
	// contains filtered or unexported fields
}

func (*PageInfo) Descriptor deprecated

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

Deprecated: Use PageInfo.ProtoReflect.Descriptor instead.

func (*PageInfo) GetOrders added in v0.5.2

func (x *PageInfo) GetOrders() []*PageInfo_OrderBy

func (*PageInfo) GetPage

func (x *PageInfo) GetPage() int64

func (*PageInfo) GetSize

func (x *PageInfo) GetSize() int64

func (*PageInfo) ProtoMessage

func (*PageInfo) ProtoMessage()

func (*PageInfo) ProtoReflect

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

func (*PageInfo) Reset

func (x *PageInfo) Reset()

func (*PageInfo) String

func (x *PageInfo) String() string

type PageInfo_OrderBy added in v0.5.2

type PageInfo_OrderBy struct {

	//排序的字段名
	Filed string `protobuf:"bytes,1,opt,name=filed,proto3" json:"filed,omitempty"`
	//排序方式:0 aes, 1 desc
	Sort int64 `protobuf:"varint,2,opt,name=sort,proto3" json:"sort,omitempty"`
	// contains filtered or unexported fields
}

func (*PageInfo_OrderBy) Descriptor deprecated added in v0.5.2

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

Deprecated: Use PageInfo_OrderBy.ProtoReflect.Descriptor instead.

func (*PageInfo_OrderBy) GetFiled added in v0.5.2

func (x *PageInfo_OrderBy) GetFiled() string

func (*PageInfo_OrderBy) GetSort added in v0.5.2

func (x *PageInfo_OrderBy) GetSort() int64

func (*PageInfo_OrderBy) ProtoMessage added in v0.5.2

func (*PageInfo_OrderBy) ProtoMessage()

func (*PageInfo_OrderBy) ProtoReflect added in v0.5.2

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

func (*PageInfo_OrderBy) Reset added in v0.5.2

func (x *PageInfo_OrderBy) Reset()

func (*PageInfo_OrderBy) String added in v0.5.2

func (x *PageInfo_OrderBy) String() string

type Point added in v0.6.0

type Point struct {
	Longitude float64 `protobuf:"fixed64,1,opt,name=longitude,proto3" json:"longitude,omitempty"` //经度
	Latitude  float64 `protobuf:"fixed64,2,opt,name=latitude,proto3" json:"latitude,omitempty"`   //纬度
	// contains filtered or unexported fields
}

func (*Point) Descriptor deprecated added in v0.6.0

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

Deprecated: Use Point.ProtoReflect.Descriptor instead.

func (*Point) GetLatitude added in v0.6.0

func (x *Point) GetLatitude() float64

func (*Point) GetLongitude added in v0.6.0

func (x *Point) GetLongitude() float64

func (*Point) ProtoMessage added in v0.6.0

func (*Point) ProtoMessage()

func (*Point) ProtoReflect added in v0.6.0

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

func (*Point) Reset added in v0.6.0

func (x *Point) Reset()

func (*Point) String added in v0.6.0

func (x *Point) String() string

type Response

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

func (*Response) Descriptor deprecated

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

Deprecated: Use Response.ProtoReflect.Descriptor instead.

func (*Response) ProtoMessage

func (*Response) ProtoMessage()

func (*Response) ProtoReflect

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

func (*Response) Reset

func (x *Response) Reset()

func (*Response) String

func (x *Response) String() string

type RoleApiAuthReq added in v0.6.0

type RoleApiAuthReq struct {
	RoleID int64  `protobuf:"varint,1,opt,name=roleID,proto3" json:"roleID,omitempty"`
	Path   string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
	Method string `protobuf:"bytes,3,opt,name=method,proto3" json:"method,omitempty"`
	// contains filtered or unexported fields
}

func (*RoleApiAuthReq) Descriptor deprecated added in v0.6.0

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

Deprecated: Use RoleApiAuthReq.ProtoReflect.Descriptor instead.

func (*RoleApiAuthReq) GetMethod added in v0.6.0

func (x *RoleApiAuthReq) GetMethod() string

func (*RoleApiAuthReq) GetPath added in v0.6.0

func (x *RoleApiAuthReq) GetPath() string

func (*RoleApiAuthReq) GetRoleID added in v0.6.0

func (x *RoleApiAuthReq) GetRoleID() int64

func (*RoleApiAuthReq) ProtoMessage added in v0.6.0

func (*RoleApiAuthReq) ProtoMessage()

func (*RoleApiAuthReq) ProtoReflect added in v0.6.0

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

func (*RoleApiAuthReq) Reset added in v0.6.0

func (x *RoleApiAuthReq) Reset()

func (*RoleApiAuthReq) String added in v0.6.0

func (x *RoleApiAuthReq) String() string

type RoleApiIndexReq added in v0.6.0

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

func (*RoleApiIndexReq) Descriptor deprecated added in v0.6.0

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

Deprecated: Use RoleApiIndexReq.ProtoReflect.Descriptor instead.

func (*RoleApiIndexReq) GetRoleID added in v0.6.0

func (x *RoleApiIndexReq) GetRoleID() uint64

func (*RoleApiIndexReq) ProtoMessage added in v0.6.0

func (*RoleApiIndexReq) ProtoMessage()

func (*RoleApiIndexReq) ProtoReflect added in v0.6.0

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

func (*RoleApiIndexReq) Reset added in v0.6.0

func (x *RoleApiIndexReq) Reset()

func (*RoleApiIndexReq) String added in v0.6.0

func (x *RoleApiIndexReq) String() string

type RoleApiIndexResp added in v0.6.0

type RoleApiIndexResp struct {
	Total int64          `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"`
	List  []*AuthApiInfo `protobuf:"bytes,2,rep,name=list,proto3" json:"list,omitempty"` //API列表数据
	// contains filtered or unexported fields
}

func (*RoleApiIndexResp) Descriptor deprecated added in v0.6.0

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

Deprecated: Use RoleApiIndexResp.ProtoReflect.Descriptor instead.

func (*RoleApiIndexResp) GetList added in v0.6.0

func (x *RoleApiIndexResp) GetList() []*AuthApiInfo

func (*RoleApiIndexResp) GetTotal added in v0.6.0

func (x *RoleApiIndexResp) GetTotal() int64

func (*RoleApiIndexResp) ProtoMessage added in v0.6.0

func (*RoleApiIndexResp) ProtoMessage()

func (*RoleApiIndexResp) ProtoReflect added in v0.6.0

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

func (*RoleApiIndexResp) Reset added in v0.6.0

func (x *RoleApiIndexResp) Reset()

func (*RoleApiIndexResp) String added in v0.6.0

func (x *RoleApiIndexResp) String() string

type RoleApiMultiUpdateReq added in v0.6.0

type RoleApiMultiUpdateReq struct {
	RoleID uint64         `protobuf:"varint,1,opt,name=roleID,proto3" json:"roleID,omitempty"` //角色ID
	List   []*AuthApiInfo `protobuf:"bytes,2,rep,name=list,proto3" json:"list,omitempty"`      //API列表数据
	// contains filtered or unexported fields
}

func (*RoleApiMultiUpdateReq) Descriptor deprecated added in v0.6.0

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

Deprecated: Use RoleApiMultiUpdateReq.ProtoReflect.Descriptor instead.

func (*RoleApiMultiUpdateReq) GetList added in v0.6.0

func (x *RoleApiMultiUpdateReq) GetList() []*AuthApiInfo

func (*RoleApiMultiUpdateReq) GetRoleID added in v0.6.0

func (x *RoleApiMultiUpdateReq) GetRoleID() uint64

func (*RoleApiMultiUpdateReq) ProtoMessage added in v0.6.0

func (*RoleApiMultiUpdateReq) ProtoMessage()

func (*RoleApiMultiUpdateReq) ProtoReflect added in v0.6.0

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

func (*RoleApiMultiUpdateReq) Reset added in v0.6.0

func (x *RoleApiMultiUpdateReq) Reset()

func (*RoleApiMultiUpdateReq) String added in v0.6.0

func (x *RoleApiMultiUpdateReq) String() string

type RoleClient

type RoleClient interface {
	RoleCreate(ctx context.Context, in *RoleCreateReq, opts ...grpc.CallOption) (*Response, error)
	RoleIndex(ctx context.Context, in *RoleIndexReq, opts ...grpc.CallOption) (*RoleIndexResp, error)
	RoleUpdate(ctx context.Context, in *RoleUpdateReq, opts ...grpc.CallOption) (*Response, error)
	RoleDelete(ctx context.Context, in *RoleDeleteReq, opts ...grpc.CallOption) (*Response, error)
	RoleMenuUpdate(ctx context.Context, in *RoleMenuUpdateReq, opts ...grpc.CallOption) (*Response, error)
	RoleApiAuth(ctx context.Context, in *RoleApiAuthReq, opts ...grpc.CallOption) (*Response, error)
	RoleApiMultiUpdate(ctx context.Context, in *RoleApiMultiUpdateReq, opts ...grpc.CallOption) (*Response, error)
	RoleApiIndex(ctx context.Context, in *RoleApiIndexReq, opts ...grpc.CallOption) (*RoleApiIndexResp, error)
}

RoleClient is the client API for Role 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.

func NewRoleClient

func NewRoleClient(cc grpc.ClientConnInterface) RoleClient

type RoleCreateReq

type RoleCreateReq struct {
	Name   string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`      // 角色名称
	Remark string `protobuf:"bytes,2,opt,name=remark,proto3" json:"remark,omitempty"`  // 备注
	Status int64  `protobuf:"varint,3,opt,name=status,proto3" json:"status,omitempty"` // 状态 1:启用,2:禁用
	// contains filtered or unexported fields
}

角色相关信息

func (*RoleCreateReq) Descriptor deprecated

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

Deprecated: Use RoleCreateReq.ProtoReflect.Descriptor instead.

func (*RoleCreateReq) GetName

func (x *RoleCreateReq) GetName() string

func (*RoleCreateReq) GetRemark

func (x *RoleCreateReq) GetRemark() string

func (*RoleCreateReq) GetStatus

func (x *RoleCreateReq) GetStatus() int64

func (*RoleCreateReq) ProtoMessage

func (*RoleCreateReq) ProtoMessage()

func (*RoleCreateReq) ProtoReflect

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

func (*RoleCreateReq) Reset

func (x *RoleCreateReq) Reset()

func (*RoleCreateReq) String

func (x *RoleCreateReq) String() string

type RoleDeleteReq

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

func (*RoleDeleteReq) Descriptor deprecated

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

Deprecated: Use RoleDeleteReq.ProtoReflect.Descriptor instead.

func (*RoleDeleteReq) GetId

func (x *RoleDeleteReq) GetId() int64

func (*RoleDeleteReq) ProtoMessage

func (*RoleDeleteReq) ProtoMessage()

func (*RoleDeleteReq) ProtoReflect

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

func (*RoleDeleteReq) Reset

func (x *RoleDeleteReq) Reset()

func (*RoleDeleteReq) String

func (x *RoleDeleteReq) String() string

type RoleIndexData

type RoleIndexData struct {
	Id          int64   `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Name        string  `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Remark      string  `protobuf:"bytes,3,opt,name=remark,proto3" json:"remark,omitempty"`
	CreatedTime int64   `protobuf:"varint,4,opt,name=createdTime,proto3" json:"createdTime,omitempty"`
	Status      int64   `protobuf:"varint,5,opt,name=status,proto3" json:"status,omitempty"`
	RoleMenuID  []int64 `protobuf:"varint,6,rep,packed,name=roleMenuID,proto3" json:"roleMenuID,omitempty"`
	// contains filtered or unexported fields
}

func (*RoleIndexData) Descriptor deprecated

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

Deprecated: Use RoleIndexData.ProtoReflect.Descriptor instead.

func (*RoleIndexData) GetCreatedTime

func (x *RoleIndexData) GetCreatedTime() int64

func (*RoleIndexData) GetId

func (x *RoleIndexData) GetId() int64

func (*RoleIndexData) GetName

func (x *RoleIndexData) GetName() string

func (*RoleIndexData) GetRemark

func (x *RoleIndexData) GetRemark() string

func (*RoleIndexData) GetRoleMenuID

func (x *RoleIndexData) GetRoleMenuID() []int64

func (*RoleIndexData) GetStatus

func (x *RoleIndexData) GetStatus() int64

func (*RoleIndexData) ProtoMessage

func (*RoleIndexData) ProtoMessage()

func (*RoleIndexData) ProtoReflect

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

func (*RoleIndexData) Reset

func (x *RoleIndexData) Reset()

func (*RoleIndexData) String

func (x *RoleIndexData) String() string

type RoleIndexReq

type RoleIndexReq struct {
	Page   *PageInfo `protobuf:"bytes,1,opt,name=page,proto3" json:"page,omitempty"` //分页信息
	Name   string    `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Status int64     `protobuf:"varint,3,opt,name=status,proto3" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*RoleIndexReq) Descriptor deprecated

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

Deprecated: Use RoleIndexReq.ProtoReflect.Descriptor instead.

func (*RoleIndexReq) GetName

func (x *RoleIndexReq) GetName() string

func (*RoleIndexReq) GetPage

func (x *RoleIndexReq) GetPage() *PageInfo

func (*RoleIndexReq) GetStatus

func (x *RoleIndexReq) GetStatus() int64

func (*RoleIndexReq) ProtoMessage

func (*RoleIndexReq) ProtoMessage()

func (*RoleIndexReq) ProtoReflect

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

func (*RoleIndexReq) Reset

func (x *RoleIndexReq) Reset()

func (*RoleIndexReq) String

func (x *RoleIndexReq) String() string

type RoleIndexResp

type RoleIndexResp struct {
	List  []*RoleIndexData `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"`
	Total int64            `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"`
	// contains filtered or unexported fields
}

func (*RoleIndexResp) Descriptor deprecated

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

Deprecated: Use RoleIndexResp.ProtoReflect.Descriptor instead.

func (*RoleIndexResp) GetList

func (x *RoleIndexResp) GetList() []*RoleIndexData

func (*RoleIndexResp) GetTotal

func (x *RoleIndexResp) GetTotal() int64

func (*RoleIndexResp) ProtoMessage

func (*RoleIndexResp) ProtoMessage()

func (*RoleIndexResp) ProtoReflect

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

func (*RoleIndexResp) Reset

func (x *RoleIndexResp) Reset()

func (*RoleIndexResp) String

func (x *RoleIndexResp) String() string

type RoleMenuUpdateReq

type RoleMenuUpdateReq struct {
	Id     int64   `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	MenuID []int64 `protobuf:"varint,2,rep,packed,name=menuID,proto3" json:"menuID,omitempty"`
	// contains filtered or unexported fields
}

func (*RoleMenuUpdateReq) Descriptor deprecated

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

Deprecated: Use RoleMenuUpdateReq.ProtoReflect.Descriptor instead.

func (*RoleMenuUpdateReq) GetId

func (x *RoleMenuUpdateReq) GetId() int64

func (*RoleMenuUpdateReq) GetMenuID

func (x *RoleMenuUpdateReq) GetMenuID() []int64

func (*RoleMenuUpdateReq) ProtoMessage

func (*RoleMenuUpdateReq) ProtoMessage()

func (*RoleMenuUpdateReq) ProtoReflect

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

func (*RoleMenuUpdateReq) Reset

func (x *RoleMenuUpdateReq) Reset()

func (*RoleMenuUpdateReq) String

func (x *RoleMenuUpdateReq) String() string

type RoleServer

type RoleServer interface {
	RoleCreate(context.Context, *RoleCreateReq) (*Response, error)
	RoleIndex(context.Context, *RoleIndexReq) (*RoleIndexResp, error)
	RoleUpdate(context.Context, *RoleUpdateReq) (*Response, error)
	RoleDelete(context.Context, *RoleDeleteReq) (*Response, error)
	RoleMenuUpdate(context.Context, *RoleMenuUpdateReq) (*Response, error)
	RoleApiAuth(context.Context, *RoleApiAuthReq) (*Response, error)
	RoleApiMultiUpdate(context.Context, *RoleApiMultiUpdateReq) (*Response, error)
	RoleApiIndex(context.Context, *RoleApiIndexReq) (*RoleApiIndexResp, error)
	// contains filtered or unexported methods
}

RoleServer is the server API for Role service. All implementations must embed UnimplementedRoleServer for forward compatibility

type RoleUpdateReq

type RoleUpdateReq struct {
	Id     int64  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Name   string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Remark string `protobuf:"bytes,3,opt,name=remark,proto3" json:"remark,omitempty"`
	Status int64  `protobuf:"varint,4,opt,name=status,proto3" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*RoleUpdateReq) Descriptor deprecated

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

Deprecated: Use RoleUpdateReq.ProtoReflect.Descriptor instead.

func (*RoleUpdateReq) GetId

func (x *RoleUpdateReq) GetId() int64

func (*RoleUpdateReq) GetName

func (x *RoleUpdateReq) GetName() string

func (*RoleUpdateReq) GetRemark

func (x *RoleUpdateReq) GetRemark() string

func (*RoleUpdateReq) GetStatus

func (x *RoleUpdateReq) GetStatus() int64

func (*RoleUpdateReq) ProtoMessage

func (*RoleUpdateReq) ProtoMessage()

func (*RoleUpdateReq) ProtoReflect

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

func (*RoleUpdateReq) Reset

func (x *RoleUpdateReq) Reset()

func (*RoleUpdateReq) String

func (x *RoleUpdateReq) String() string

type UnimplementedApiServer added in v0.3.1

type UnimplementedApiServer struct {
}

UnimplementedApiServer must be embedded to have forward compatible implementations.

func (UnimplementedApiServer) ApiCreate added in v0.3.1

func (UnimplementedApiServer) ApiDelete added in v0.3.1

func (UnimplementedApiServer) ApiIndex added in v0.3.1

func (UnimplementedApiServer) ApiUpdate added in v0.3.1

type UnimplementedCommonServer added in v0.3.0

type UnimplementedCommonServer struct {
}

UnimplementedCommonServer must be embedded to have forward compatible implementations.

func (UnimplementedCommonServer) Config added in v0.3.0

type UnimplementedLogServer added in v0.3.1

type UnimplementedLogServer struct {
}

UnimplementedLogServer must be embedded to have forward compatible implementations.

func (UnimplementedLogServer) LoginLogCreate added in v0.3.1

func (UnimplementedLogServer) LoginLogIndex added in v0.3.1

func (UnimplementedLogServer) OperLogCreate added in v0.3.1

func (UnimplementedLogServer) OperLogIndex added in v0.3.1

type UnimplementedMenuServer

type UnimplementedMenuServer struct {
}

UnimplementedMenuServer must be embedded to have forward compatible implementations.

func (UnimplementedMenuServer) MenuCreate

func (UnimplementedMenuServer) MenuDelete

func (UnimplementedMenuServer) MenuIndex

func (UnimplementedMenuServer) MenuUpdate

type UnimplementedRoleServer

type UnimplementedRoleServer struct {
}

UnimplementedRoleServer must be embedded to have forward compatible implementations.

func (UnimplementedRoleServer) RoleApiAuth added in v0.6.0

func (UnimplementedRoleServer) RoleApiIndex added in v0.6.0

func (UnimplementedRoleServer) RoleApiMultiUpdate added in v0.6.0

func (UnimplementedRoleServer) RoleCreate

func (UnimplementedRoleServer) RoleDelete

func (UnimplementedRoleServer) RoleIndex

func (UnimplementedRoleServer) RoleMenuUpdate

func (UnimplementedRoleServer) RoleUpdate

type UnimplementedUserServer

type UnimplementedUserServer struct {
}

UnimplementedUserServer must be embedded to have forward compatible implementations.

func (UnimplementedUserServer) UserCheckToken added in v0.5.1

func (UnimplementedUserServer) UserCreate added in v0.5.1

func (UnimplementedUserServer) UserDelete added in v0.5.1

func (UnimplementedUserServer) UserIndex added in v0.5.1

func (UnimplementedUserServer) UserLogin added in v0.5.1

func (UnimplementedUserServer) UserRead added in v0.5.1

func (UnimplementedUserServer) UserUpdate added in v0.5.1

type UnsafeApiServer added in v0.3.1

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

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

type UnsafeCommonServer added in v0.3.0

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

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

type UnsafeLogServer added in v0.3.1

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

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

type UnsafeMenuServer added in v0.3.0

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

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

type UnsafeRoleServer added in v0.3.0

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

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

type UnsafeUserServer added in v0.3.0

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

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

type UserCheckTokenReq added in v0.5.1

type UserCheckTokenReq struct {
	Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
	Ip    string `protobuf:"bytes,2,opt,name=ip,proto3" json:"ip,omitempty"`
	// contains filtered or unexported fields
}

func (*UserCheckTokenReq) Descriptor deprecated added in v0.5.1

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

Deprecated: Use UserCheckTokenReq.ProtoReflect.Descriptor instead.

func (*UserCheckTokenReq) GetIp added in v0.5.1

func (x *UserCheckTokenReq) GetIp() string

func (*UserCheckTokenReq) GetToken added in v0.5.1

func (x *UserCheckTokenReq) GetToken() string

func (*UserCheckTokenReq) ProtoMessage added in v0.5.1

func (*UserCheckTokenReq) ProtoMessage()

func (*UserCheckTokenReq) ProtoReflect added in v0.5.1

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

func (*UserCheckTokenReq) Reset added in v0.5.1

func (x *UserCheckTokenReq) Reset()

func (*UserCheckTokenReq) String added in v0.5.1

func (x *UserCheckTokenReq) String() string

type UserCheckTokenResp added in v0.5.1

type UserCheckTokenResp struct {
	Token     string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` //如果时间不多会更新jwt,需要判断jwt是否为“” 如果不为空,则需要更新用户的token
	UserID    int64  `protobuf:"varint,2,opt,name=userID,proto3" json:"userID,omitempty"`
	Role      int64  `protobuf:"varint,3,opt,name=role,proto3" json:"role,omitempty"`
	IsAllData int64  `protobuf:"varint,4,opt,name=isAllData,proto3" json:"isAllData,omitempty"`
	// contains filtered or unexported fields
}

func (*UserCheckTokenResp) Descriptor deprecated added in v0.5.1

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

Deprecated: Use UserCheckTokenResp.ProtoReflect.Descriptor instead.

func (*UserCheckTokenResp) GetIsAllData added in v0.5.1

func (x *UserCheckTokenResp) GetIsAllData() int64

func (*UserCheckTokenResp) GetRole added in v0.5.1

func (x *UserCheckTokenResp) GetRole() int64

func (*UserCheckTokenResp) GetToken added in v0.5.1

func (x *UserCheckTokenResp) GetToken() string

func (*UserCheckTokenResp) GetUserID added in v0.5.1

func (x *UserCheckTokenResp) GetUserID() int64

func (*UserCheckTokenResp) ProtoMessage added in v0.5.1

func (*UserCheckTokenResp) ProtoMessage()

func (*UserCheckTokenResp) ProtoReflect added in v0.5.1

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

func (*UserCheckTokenResp) Reset added in v0.5.1

func (x *UserCheckTokenResp) Reset()

func (*UserCheckTokenResp) String added in v0.5.1

func (x *UserCheckTokenResp) String() string

type UserClient

type UserClient interface {
	UserCreate(ctx context.Context, in *UserInfo, opts ...grpc.CallOption) (*UserCreateResp, error)
	UserIndex(ctx context.Context, in *UserIndexReq, opts ...grpc.CallOption) (*UserIndexResp, error)
	UserUpdate(ctx context.Context, in *UserInfo, opts ...grpc.CallOption) (*Response, error)
	UserRead(ctx context.Context, in *UserReadReq, opts ...grpc.CallOption) (*UserInfo, error)
	UserDelete(ctx context.Context, in *UserDeleteReq, opts ...grpc.CallOption) (*Response, error)
	UserLogin(ctx context.Context, in *UserLoginReq, opts ...grpc.CallOption) (*UserLoginResp, error)
	UserCheckToken(ctx context.Context, in *UserCheckTokenReq, opts ...grpc.CallOption) (*UserCheckTokenResp, error)
}

UserClient is the client API for User 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.

func NewUserClient

func NewUserClient(cc grpc.ClientConnInterface) UserClient

type UserCreateResp

type UserCreateResp struct {
	UserID int64 `protobuf:"varint,1,opt,name=userID,proto3" json:"userID,omitempty"` //用户id
	// contains filtered or unexported fields
}

func (*UserCreateResp) Descriptor deprecated

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

Deprecated: Use UserCreateResp.ProtoReflect.Descriptor instead.

func (*UserCreateResp) GetUserID added in v0.5.1

func (x *UserCreateResp) GetUserID() int64

func (*UserCreateResp) ProtoMessage

func (*UserCreateResp) ProtoMessage()

func (*UserCreateResp) ProtoReflect

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

func (*UserCreateResp) Reset

func (x *UserCreateResp) Reset()

func (*UserCreateResp) String

func (x *UserCreateResp) String() string

type UserDeleteReq

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

func (*UserDeleteReq) Descriptor deprecated

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

Deprecated: Use UserDeleteReq.ProtoReflect.Descriptor instead.

func (*UserDeleteReq) GetUserID added in v0.5.1

func (x *UserDeleteReq) GetUserID() int64

func (*UserDeleteReq) ProtoMessage

func (*UserDeleteReq) ProtoMessage()

func (*UserDeleteReq) ProtoReflect

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

func (*UserDeleteReq) Reset

func (x *UserDeleteReq) Reset()

func (*UserDeleteReq) String

func (x *UserDeleteReq) String() string

type UserIndexReq

type UserIndexReq struct {
	Page     *PageInfo `protobuf:"bytes,1,opt,name=page,proto3" json:"page,omitempty"` //分页信息 只获取一个则不填 搜索的字段: userID:用户id userName:登录用户名  email:邮箱  phone:手机号
	UserName string    `protobuf:"bytes,2,opt,name=userName,proto3" json:"userName,omitempty"`
	Phone    string    `protobuf:"bytes,3,opt,name=phone,proto3" json:"phone,omitempty"`
	Email    string    `protobuf:"bytes,4,opt,name=email,proto3" json:"email,omitempty"`
	// contains filtered or unexported fields
}

func (*UserIndexReq) Descriptor deprecated

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

Deprecated: Use UserIndexReq.ProtoReflect.Descriptor instead.

func (*UserIndexReq) GetEmail

func (x *UserIndexReq) GetEmail() string

func (*UserIndexReq) GetPage

func (x *UserIndexReq) GetPage() *PageInfo

func (*UserIndexReq) GetPhone

func (x *UserIndexReq) GetPhone() string

func (*UserIndexReq) GetUserName

func (x *UserIndexReq) GetUserName() string

func (*UserIndexReq) ProtoMessage

func (*UserIndexReq) ProtoMessage()

func (*UserIndexReq) ProtoReflect

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

func (*UserIndexReq) Reset

func (x *UserIndexReq) Reset()

func (*UserIndexReq) String

func (x *UserIndexReq) String() string

type UserIndexResp

type UserIndexResp struct {
	Info  []*UserInfo `protobuf:"bytes,1,rep,name=info,proto3" json:"info,omitempty"`
	Total int64       `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"`
	// contains filtered or unexported fields
}

func (*UserIndexResp) Descriptor deprecated

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

Deprecated: Use UserIndexResp.ProtoReflect.Descriptor instead.

func (*UserIndexResp) GetInfo

func (x *UserIndexResp) GetInfo() []*UserInfo

func (*UserIndexResp) GetTotal

func (x *UserIndexResp) GetTotal() int64

func (*UserIndexResp) ProtoMessage

func (*UserIndexResp) ProtoMessage()

func (*UserIndexResp) ProtoReflect

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

func (*UserIndexResp) Reset

func (x *UserIndexResp) Reset()

func (*UserIndexResp) String

func (x *UserIndexResp) String() string

type UserInfo

type UserInfo struct {
	UserID      int64  `protobuf:"varint,1,opt,name=userID,proto3" json:"userID,omitempty"`
	UserName    string `protobuf:"bytes,2,opt,name=userName,proto3" json:"userName,omitempty"`
	Password    string `protobuf:"bytes,3,opt,name=password,proto3" json:"password,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"`
	Wechat      string `protobuf:"bytes,6,opt,name=wechat,proto3" json:"wechat,omitempty"`
	LastIP      string `protobuf:"bytes,7,opt,name=lastIP,proto3" json:"lastIP,omitempty"`
	RegIP       string `protobuf:"bytes,8,opt,name=regIP,proto3" json:"regIP,omitempty"`
	NickName    string `protobuf:"bytes,9,opt,name=nickName,proto3" json:"nickName,omitempty"`
	City        string `protobuf:"bytes,10,opt,name=city,proto3" json:"city,omitempty"`
	Country     string `protobuf:"bytes,11,opt,name=country,proto3" json:"country,omitempty"`
	Province    string `protobuf:"bytes,12,opt,name=province,proto3" json:"province,omitempty"`
	Language    string `protobuf:"bytes,13,opt,name=language,proto3" json:"language,omitempty"`
	HeadImgUrl  string `protobuf:"bytes,14,opt,name=headImgUrl,proto3" json:"headImgUrl,omitempty"`
	CreatedTime int64  `protobuf:"varint,15,opt,name=createdTime,proto3" json:"createdTime,omitempty"`
	Role        int64  `protobuf:"varint,16,opt,name=role,proto3" json:"role,omitempty"`
	Sex         int64  `protobuf:"varint,17,opt,name=sex,proto3" json:"sex,omitempty"`
	IsAllData   int64  `protobuf:"varint,18,opt,name=isAllData,proto3" json:"isAllData,omitempty"`
	// contains filtered or unexported fields
}

用户属性信息

func (*UserInfo) Descriptor deprecated

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

Deprecated: Use UserInfo.ProtoReflect.Descriptor instead.

func (*UserInfo) GetCity

func (x *UserInfo) GetCity() string

func (*UserInfo) GetCountry

func (x *UserInfo) GetCountry() string

func (*UserInfo) GetCreatedTime

func (x *UserInfo) GetCreatedTime() int64

func (*UserInfo) GetEmail

func (x *UserInfo) GetEmail() string

func (*UserInfo) GetHeadImgUrl

func (x *UserInfo) GetHeadImgUrl() string

func (*UserInfo) GetIsAllData added in v0.5.1

func (x *UserInfo) GetIsAllData() int64

func (*UserInfo) GetLanguage

func (x *UserInfo) GetLanguage() string

func (*UserInfo) GetLastIP

func (x *UserInfo) GetLastIP() string

func (*UserInfo) GetNickName

func (x *UserInfo) GetNickName() string

func (*UserInfo) GetPassword

func (x *UserInfo) GetPassword() string

func (*UserInfo) GetPhone

func (x *UserInfo) GetPhone() string

func (*UserInfo) GetProvince

func (x *UserInfo) GetProvince() string

func (*UserInfo) GetRegIP

func (x *UserInfo) GetRegIP() string

func (*UserInfo) GetRole

func (x *UserInfo) GetRole() int64

func (*UserInfo) GetSex

func (x *UserInfo) GetSex() int64

func (*UserInfo) GetUserID added in v0.5.1

func (x *UserInfo) GetUserID() int64

func (*UserInfo) GetUserName

func (x *UserInfo) GetUserName() string

func (*UserInfo) GetWechat

func (x *UserInfo) GetWechat() string

func (*UserInfo) ProtoMessage

func (*UserInfo) ProtoMessage()

func (*UserInfo) ProtoReflect

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

func (*UserInfo) Reset

func (x *UserInfo) Reset()

func (*UserInfo) String

func (x *UserInfo) String() string

type UserLoginReq added in v0.5.1

type UserLoginReq struct {
	Account   string `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"`     //登录账号(支持用户名,手机号登录) 账号密码登录时需要填写
	PwdType   int32  `protobuf:"varint,2,opt,name=pwdType,proto3" json:"pwdType,omitempty"`    //账号密码登录时需要填写.0,无密码 1,明文 2,md5加密
	Password  string `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty"`   //密码,建议md5转换 密码登录时需要填写
	LoginType string `protobuf:"bytes,4,opt,name=loginType,proto3" json:"loginType,omitempty"` //验证类型 phone 手机号 wxOpen 微信开放平台 wxIn 微信内 wxMiniP 微信小程序 pwd 账号密码
	Code      string `protobuf:"bytes,5,opt,name=code,proto3" json:"code,omitempty"`           //验证码    微信登录填code
	CodeID    string `protobuf:"bytes,6,opt,name=codeID,proto3" json:"codeID,omitempty"`       //验证码编号 微信登录填state
	Ip        string `protobuf:"bytes,7,opt,name=ip,proto3" json:"ip,omitempty"`               //透传请求的 ip
	// contains filtered or unexported fields
}

func (*UserLoginReq) Descriptor deprecated added in v0.5.1

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

Deprecated: Use UserLoginReq.ProtoReflect.Descriptor instead.

func (*UserLoginReq) GetAccount added in v0.6.0

func (x *UserLoginReq) GetAccount() string

func (*UserLoginReq) GetCode added in v0.5.1

func (x *UserLoginReq) GetCode() string

func (*UserLoginReq) GetCodeID added in v0.5.1

func (x *UserLoginReq) GetCodeID() string

func (*UserLoginReq) GetIp added in v0.5.1

func (x *UserLoginReq) GetIp() string

func (*UserLoginReq) GetLoginType added in v0.5.1

func (x *UserLoginReq) GetLoginType() string

func (*UserLoginReq) GetPassword added in v0.5.1

func (x *UserLoginReq) GetPassword() string

func (*UserLoginReq) GetPwdType added in v0.5.1

func (x *UserLoginReq) GetPwdType() int32

func (*UserLoginReq) ProtoMessage added in v0.5.1

func (*UserLoginReq) ProtoMessage()

func (*UserLoginReq) ProtoReflect added in v0.5.1

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

func (*UserLoginReq) Reset added in v0.5.1

func (x *UserLoginReq) Reset()

func (*UserLoginReq) String added in v0.5.1

func (x *UserLoginReq) String() string

type UserLoginResp added in v0.5.1

type UserLoginResp struct {
	Info  *UserInfo `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"`
	Token *JwtToken `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"`
	// contains filtered or unexported fields
}

func (*UserLoginResp) Descriptor deprecated added in v0.5.1

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

Deprecated: Use UserLoginResp.ProtoReflect.Descriptor instead.

func (*UserLoginResp) GetInfo added in v0.5.1

func (x *UserLoginResp) GetInfo() *UserInfo

func (*UserLoginResp) GetToken added in v0.5.1

func (x *UserLoginResp) GetToken() *JwtToken

func (*UserLoginResp) ProtoMessage added in v0.5.1

func (*UserLoginResp) ProtoMessage()

func (*UserLoginResp) ProtoReflect added in v0.5.1

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

func (*UserLoginResp) Reset added in v0.5.1

func (x *UserLoginResp) Reset()

func (*UserLoginResp) String added in v0.5.1

func (x *UserLoginResp) String() string

type UserReadReq

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

func (*UserReadReq) Descriptor deprecated

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

Deprecated: Use UserReadReq.ProtoReflect.Descriptor instead.

func (*UserReadReq) GetUserID added in v0.5.1

func (x *UserReadReq) GetUserID() int64

func (*UserReadReq) ProtoMessage

func (*UserReadReq) ProtoMessage()

func (*UserReadReq) ProtoReflect

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

func (*UserReadReq) Reset

func (x *UserReadReq) Reset()

func (*UserReadReq) String

func (x *UserReadReq) String() string

type UserServer

type UserServer interface {
	UserCreate(context.Context, *UserInfo) (*UserCreateResp, error)
	UserIndex(context.Context, *UserIndexReq) (*UserIndexResp, error)
	UserUpdate(context.Context, *UserInfo) (*Response, error)
	UserRead(context.Context, *UserReadReq) (*UserInfo, error)
	UserDelete(context.Context, *UserDeleteReq) (*Response, error)
	UserLogin(context.Context, *UserLoginReq) (*UserLoginResp, error)
	UserCheckToken(context.Context, *UserCheckTokenReq) (*UserCheckTokenResp, error)
	// contains filtered or unexported methods
}

UserServer is the server API for User service. All implementations must embed UnimplementedUserServer for forward compatibility

Jump to

Keyboard shortcuts

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