pb

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2022 License: BSD-3-Clause Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_uv_pb_user_proto protoreflect.FileDescriptor
View Source
var Service_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "user.Service",
	HandlerType: (*ServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "UserCreate",
			Handler:    _Service_UserCreate_Handler,
		},
		{
			MethodName: "UserSet",
			Handler:    _Service_UserSet_Handler,
		},
		{
			MethodName: "UserGet",
			Handler:    _Service_UserGet_Handler,
		},
		{
			MethodName: "UserQuery",
			Handler:    _Service_UserQuery_Handler,
		},
		{
			MethodName: "InfoSet",
			Handler:    _Service_InfoSet_Handler,
		},
		{
			MethodName: "InfoGet",
			Handler:    _Service_InfoGet_Handler,
		},
		{
			MethodName: "Login",
			Handler:    _Service_Login_Handler,
		},
		{
			MethodName: "UserBatchGet",
			Handler:    _Service_UserBatchGet_Handler,
		},
		{
			MethodName: "InfoBatchGet",
			Handler:    _Service_InfoBatchGet_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "uv-pb-user.proto",
}

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

Functions

func RegisterServiceServer

func RegisterServiceServer(s grpc.ServiceRegistrar, srv ServiceServer)

Types

type AppQueryTask

type AppQueryTask struct {
	Q string `protobuf:"bytes,1,opt,name=q,proto3" json:"q,omitempty"`
	P int32  `protobuf:"varint,2,opt,name=p,proto3" json:"p,omitempty"`
	N int32  `protobuf:"varint,3,opt,name=n,proto3" json:"n,omitempty"`
	// contains filtered or unexported fields
}

func (*AppQueryTask) Descriptor deprecated

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

Deprecated: Use AppQueryTask.ProtoReflect.Descriptor instead.

func (*AppQueryTask) GetN

func (x *AppQueryTask) GetN() int32

func (*AppQueryTask) GetP

func (x *AppQueryTask) GetP() int32

func (*AppQueryTask) GetQ

func (x *AppQueryTask) GetQ() string

func (*AppQueryTask) ProtoMessage

func (*AppQueryTask) ProtoMessage()

func (*AppQueryTask) ProtoReflect

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

func (*AppQueryTask) Reset

func (x *AppQueryTask) Reset()

func (*AppQueryTask) String

func (x *AppQueryTask) String() string

type Info

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

func (*Info) Descriptor deprecated

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

Deprecated: Use Info.ProtoReflect.Descriptor instead.

func (*Info) GetInfo

func (x *Info) GetInfo() string

func (*Info) ProtoMessage

func (*Info) ProtoMessage()

func (*Info) ProtoReflect

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

func (*Info) Reset

func (x *Info) Reset()

func (*Info) String

func (x *Info) String() string

type InfoBatchGetResult

type InfoBatchGetResult struct {
	Errno  int32   `protobuf:"varint,1,opt,name=errno,proto3" json:"errno,omitempty"`
	Errmsg string  `protobuf:"bytes,2,opt,name=errmsg,proto3" json:"errmsg,omitempty"`
	Items  []*Info `protobuf:"bytes,3,rep,name=items,proto3" json:"items,omitempty"`
	// contains filtered or unexported fields
}

func (*InfoBatchGetResult) Descriptor deprecated

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

Deprecated: Use InfoBatchGetResult.ProtoReflect.Descriptor instead.

func (*InfoBatchGetResult) GetErrmsg

func (x *InfoBatchGetResult) GetErrmsg() string

func (*InfoBatchGetResult) GetErrno

func (x *InfoBatchGetResult) GetErrno() int32

func (*InfoBatchGetResult) GetItems

func (x *InfoBatchGetResult) GetItems() []*Info

func (*InfoBatchGetResult) ProtoMessage

func (*InfoBatchGetResult) ProtoMessage()

func (*InfoBatchGetResult) ProtoReflect

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

func (*InfoBatchGetResult) Reset

func (x *InfoBatchGetResult) Reset()

func (*InfoBatchGetResult) String

func (x *InfoBatchGetResult) String() string

type InfoBatchGetTask

type InfoBatchGetTask struct {
	Uid []string `protobuf:"bytes,1,rep,name=uid,proto3" json:"uid,omitempty"`
	Key string   `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"`
	// contains filtered or unexported fields
}

func (*InfoBatchGetTask) Descriptor deprecated

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

Deprecated: Use InfoBatchGetTask.ProtoReflect.Descriptor instead.

func (*InfoBatchGetTask) GetKey

func (x *InfoBatchGetTask) GetKey() string

func (*InfoBatchGetTask) GetUid

func (x *InfoBatchGetTask) GetUid() []string

func (*InfoBatchGetTask) ProtoMessage

func (*InfoBatchGetTask) ProtoMessage()

func (*InfoBatchGetTask) ProtoReflect

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

func (*InfoBatchGetTask) Reset

func (x *InfoBatchGetTask) Reset()

func (*InfoBatchGetTask) String

func (x *InfoBatchGetTask) String() string

type InfoGetTask

type InfoGetTask struct {
	Uid string `protobuf:"bytes,1,opt,name=uid,proto3" json:"uid,omitempty"`
	Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"`
	// contains filtered or unexported fields
}

func (*InfoGetTask) Descriptor deprecated

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

Deprecated: Use InfoGetTask.ProtoReflect.Descriptor instead.

func (*InfoGetTask) GetKey

func (x *InfoGetTask) GetKey() string

func (*InfoGetTask) GetUid

func (x *InfoGetTask) GetUid() string

func (*InfoGetTask) ProtoMessage

func (*InfoGetTask) ProtoMessage()

func (*InfoGetTask) ProtoReflect

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

func (*InfoGetTask) Reset

func (x *InfoGetTask) Reset()

func (*InfoGetTask) String

func (x *InfoGetTask) String() string

type InfoResult

type InfoResult struct {
	Errno  int32  `protobuf:"varint,1,opt,name=errno,proto3" json:"errno,omitempty"`
	Errmsg string `protobuf:"bytes,2,opt,name=errmsg,proto3" json:"errmsg,omitempty"`
	Data   *Info  `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*InfoResult) Descriptor deprecated

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

Deprecated: Use InfoResult.ProtoReflect.Descriptor instead.

func (*InfoResult) GetData

func (x *InfoResult) GetData() *Info

func (*InfoResult) GetErrmsg

func (x *InfoResult) GetErrmsg() string

func (*InfoResult) GetErrno

func (x *InfoResult) GetErrno() int32

func (*InfoResult) ProtoMessage

func (*InfoResult) ProtoMessage()

func (*InfoResult) ProtoReflect

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

func (*InfoResult) Reset

func (x *InfoResult) Reset()

func (*InfoResult) String

func (x *InfoResult) String() string

type InfoSetTask

type InfoSetTask struct {
	Uid  string `protobuf:"bytes,1,opt,name=uid,proto3" json:"uid,omitempty"`
	Key  string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"`
	Info string `protobuf:"bytes,3,opt,name=info,proto3" json:"info,omitempty"`
	// contains filtered or unexported fields
}

func (*InfoSetTask) Descriptor deprecated

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

Deprecated: Use InfoSetTask.ProtoReflect.Descriptor instead.

func (*InfoSetTask) GetInfo

func (x *InfoSetTask) GetInfo() string

func (*InfoSetTask) GetKey

func (x *InfoSetTask) GetKey() string

func (*InfoSetTask) GetUid

func (x *InfoSetTask) GetUid() string

func (*InfoSetTask) ProtoMessage

func (*InfoSetTask) ProtoMessage()

func (*InfoSetTask) ProtoReflect

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

func (*InfoSetTask) Reset

func (x *InfoSetTask) Reset()

func (*InfoSetTask) String

func (x *InfoSetTask) String() string

type LoginResult

type LoginResult struct {
	Errno  int32  `protobuf:"varint,1,opt,name=errno,proto3" json:"errno,omitempty"`
	Errmsg string `protobuf:"bytes,2,opt,name=errmsg,proto3" json:"errmsg,omitempty"`
	// contains filtered or unexported fields
}

func (*LoginResult) Descriptor deprecated

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

Deprecated: Use LoginResult.ProtoReflect.Descriptor instead.

func (*LoginResult) GetErrmsg

func (x *LoginResult) GetErrmsg() string

func (*LoginResult) GetErrno

func (x *LoginResult) GetErrno() int32

func (*LoginResult) ProtoMessage

func (*LoginResult) ProtoMessage()

func (*LoginResult) ProtoReflect

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

func (*LoginResult) Reset

func (x *LoginResult) Reset()

func (*LoginResult) String

func (x *LoginResult) String() string

type LoginTask

type LoginTask 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 (*LoginTask) Descriptor deprecated

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

Deprecated: Use LoginTask.ProtoReflect.Descriptor instead.

func (*LoginTask) GetName

func (x *LoginTask) GetName() string

func (*LoginTask) GetPassword

func (x *LoginTask) GetPassword() string

func (*LoginTask) ProtoMessage

func (*LoginTask) ProtoMessage()

func (*LoginTask) ProtoReflect

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

func (*LoginTask) Reset

func (x *LoginTask) Reset()

func (*LoginTask) String

func (x *LoginTask) String() string

type Page

type Page struct {
	Count      int32 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"`
	P          int32 `protobuf:"varint,2,opt,name=p,proto3" json:"p,omitempty"`
	N          int32 `protobuf:"varint,3,opt,name=n,proto3" json:"n,omitempty"`
	TotalCount int32 `protobuf:"varint,4,opt,name=totalCount,proto3" json:"totalCount,omitempty"`
	// contains filtered or unexported fields
}

func (*Page) Descriptor deprecated

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

Deprecated: Use Page.ProtoReflect.Descriptor instead.

func (*Page) GetCount

func (x *Page) GetCount() int32

func (*Page) GetN

func (x *Page) GetN() int32

func (*Page) GetP

func (x *Page) GetP() int32

func (*Page) GetTotalCount

func (x *Page) GetTotalCount() int32

func (*Page) ProtoMessage

func (*Page) ProtoMessage()

func (*Page) ProtoReflect

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

func (*Page) Reset

func (x *Page) Reset()

func (*Page) String

func (x *Page) String() string

type ServiceClient

type ServiceClient interface {
	//*
	// 创建用户
	UserCreate(ctx context.Context, in *UserCreateTask, opts ...grpc.CallOption) (*UserResult, error)
	//*
	// 修改用户
	UserSet(ctx context.Context, in *UserSetTask, opts ...grpc.CallOption) (*UserResult, error)
	//*
	// 获取单个用户
	UserGet(ctx context.Context, in *UserGetTask, opts ...grpc.CallOption) (*UserResult, error)
	//*
	// 查询多个用户
	UserQuery(ctx context.Context, in *UserQueryTask, opts ...grpc.CallOption) (*UserQueryResult, error)
	//*
	// 设置用户信息
	InfoSet(ctx context.Context, in *InfoSetTask, opts ...grpc.CallOption) (*InfoResult, error)
	//*
	// 获取用户信息
	InfoGet(ctx context.Context, in *InfoGetTask, opts ...grpc.CallOption) (*InfoResult, error)
	//*
	// 登录
	Login(ctx context.Context, in *LoginTask, opts ...grpc.CallOption) (*LoginResult, error)
	//*
	// 批量获取用户
	UserBatchGet(ctx context.Context, in *UserBatchGetTask, opts ...grpc.CallOption) (*UserBatchGetResult, error)
	//*
	// 批量获取用户信息
	InfoBatchGet(ctx context.Context, in *InfoBatchGetTask, opts ...grpc.CallOption) (*InfoBatchGetResult, error)
}

ServiceClient is the client API for Service 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 NewServiceClient

func NewServiceClient(cc grpc.ClientConnInterface) ServiceClient

type ServiceServer

type ServiceServer interface {
	//*
	// 创建用户
	UserCreate(context.Context, *UserCreateTask) (*UserResult, error)
	//*
	// 修改用户
	UserSet(context.Context, *UserSetTask) (*UserResult, error)
	//*
	// 获取单个用户
	UserGet(context.Context, *UserGetTask) (*UserResult, error)
	//*
	// 查询多个用户
	UserQuery(context.Context, *UserQueryTask) (*UserQueryResult, error)
	//*
	// 设置用户信息
	InfoSet(context.Context, *InfoSetTask) (*InfoResult, error)
	//*
	// 获取用户信息
	InfoGet(context.Context, *InfoGetTask) (*InfoResult, error)
	//*
	// 登录
	Login(context.Context, *LoginTask) (*LoginResult, error)
	//*
	// 批量获取用户
	UserBatchGet(context.Context, *UserBatchGetTask) (*UserBatchGetResult, error)
	//*
	// 批量获取用户信息
	InfoBatchGet(context.Context, *InfoBatchGetTask) (*InfoBatchGetResult, error)
}

ServiceServer is the server API for Service service. All implementations should embed UnimplementedServiceServer for forward compatibility

type String

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

func (*String) Descriptor deprecated

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

Deprecated: Use String.ProtoReflect.Descriptor instead.

func (*String) GetValue

func (x *String) GetValue() string

func (*String) ProtoMessage

func (*String) ProtoMessage()

func (*String) ProtoReflect

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

func (*String) Reset

func (x *String) Reset()

func (*String) String

func (x *String) String() string

type UnimplementedServiceServer

type UnimplementedServiceServer struct {
}

UnimplementedServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedServiceServer) InfoBatchGet

func (UnimplementedServiceServer) InfoGet

func (UnimplementedServiceServer) InfoSet

func (UnimplementedServiceServer) Login

func (UnimplementedServiceServer) UserBatchGet

func (UnimplementedServiceServer) UserCreate

func (UnimplementedServiceServer) UserGet

func (UnimplementedServiceServer) UserQuery

func (UnimplementedServiceServer) UserSet

type UnsafeServiceServer

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

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

type User

type User struct {
	Id       string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Name     string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Nick     string `protobuf:"bytes,3,opt,name=nick,proto3" json:"nick,omitempty"`
	Password string `protobuf:"bytes,4,opt,name=password,proto3" json:"password,omitempty"`
	Ctime    int32  `protobuf:"varint,5,opt,name=ctime,proto3" json:"ctime,omitempty"`
	// contains filtered or unexported fields
}

func (*User) Descriptor deprecated

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

Deprecated: Use User.ProtoReflect.Descriptor instead.

func (*User) GetCtime

func (x *User) GetCtime() int32

func (*User) GetId

func (x *User) GetId() string

func (*User) GetName

func (x *User) GetName() string

func (*User) GetNick

func (x *User) GetNick() string

func (*User) GetPassword

func (x *User) GetPassword() string

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 UserBatchGetResult

type UserBatchGetResult struct {
	Errno  int32   `protobuf:"varint,1,opt,name=errno,proto3" json:"errno,omitempty"`
	Errmsg string  `protobuf:"bytes,2,opt,name=errmsg,proto3" json:"errmsg,omitempty"`
	Items  []*User `protobuf:"bytes,3,rep,name=items,proto3" json:"items,omitempty"`
	// contains filtered or unexported fields
}

func (*UserBatchGetResult) Descriptor deprecated

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

Deprecated: Use UserBatchGetResult.ProtoReflect.Descriptor instead.

func (*UserBatchGetResult) GetErrmsg

func (x *UserBatchGetResult) GetErrmsg() string

func (*UserBatchGetResult) GetErrno

func (x *UserBatchGetResult) GetErrno() int32

func (*UserBatchGetResult) GetItems

func (x *UserBatchGetResult) GetItems() []*User

func (*UserBatchGetResult) ProtoMessage

func (*UserBatchGetResult) ProtoMessage()

func (*UserBatchGetResult) ProtoReflect

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

func (*UserBatchGetResult) Reset

func (x *UserBatchGetResult) Reset()

func (*UserBatchGetResult) String

func (x *UserBatchGetResult) String() string

type UserBatchGetTask

type UserBatchGetTask struct {
	Uid []string `protobuf:"bytes,1,rep,name=uid,proto3" json:"uid,omitempty"`
	// contains filtered or unexported fields
}

func (*UserBatchGetTask) Descriptor deprecated

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

Deprecated: Use UserBatchGetTask.ProtoReflect.Descriptor instead.

func (*UserBatchGetTask) GetUid

func (x *UserBatchGetTask) GetUid() []string

func (*UserBatchGetTask) ProtoMessage

func (*UserBatchGetTask) ProtoMessage()

func (*UserBatchGetTask) ProtoReflect

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

func (*UserBatchGetTask) Reset

func (x *UserBatchGetTask) Reset()

func (*UserBatchGetTask) String

func (x *UserBatchGetTask) String() string

type UserCreateTask

type UserCreateTask struct {
	Name     string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Nick     string `protobuf:"bytes,2,opt,name=nick,proto3" json:"nick,omitempty"`
	Password string `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty"`
	// contains filtered or unexported fields
}

func (*UserCreateTask) Descriptor deprecated

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

Deprecated: Use UserCreateTask.ProtoReflect.Descriptor instead.

func (*UserCreateTask) GetName

func (x *UserCreateTask) GetName() string

func (*UserCreateTask) GetNick

func (x *UserCreateTask) GetNick() string

func (*UserCreateTask) GetPassword

func (x *UserCreateTask) GetPassword() string

func (*UserCreateTask) ProtoMessage

func (*UserCreateTask) ProtoMessage()

func (*UserCreateTask) ProtoReflect

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

func (*UserCreateTask) Reset

func (x *UserCreateTask) Reset()

func (*UserCreateTask) String

func (x *UserCreateTask) String() string

type UserGetTask

type UserGetTask struct {
	Uid         string `protobuf:"bytes,1,opt,name=uid,proto3" json:"uid,omitempty"`
	Name        string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Nick        string `protobuf:"bytes,3,opt,name=nick,proto3" json:"nick,omitempty"`
	AutoCreated bool   `protobuf:"varint,4,opt,name=autoCreated,proto3" json:"autoCreated,omitempty"`
	// contains filtered or unexported fields
}

func (*UserGetTask) Descriptor deprecated

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

Deprecated: Use UserGetTask.ProtoReflect.Descriptor instead.

func (*UserGetTask) GetAutoCreated

func (x *UserGetTask) GetAutoCreated() bool

func (*UserGetTask) GetName

func (x *UserGetTask) GetName() string

func (*UserGetTask) GetNick

func (x *UserGetTask) GetNick() string

func (*UserGetTask) GetUid

func (x *UserGetTask) GetUid() string

func (*UserGetTask) ProtoMessage

func (*UserGetTask) ProtoMessage()

func (*UserGetTask) ProtoReflect

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

func (*UserGetTask) Reset

func (x *UserGetTask) Reset()

func (*UserGetTask) String

func (x *UserGetTask) String() string

type UserQueryResult

type UserQueryResult struct {
	Errno  int32   `protobuf:"varint,1,opt,name=errno,proto3" json:"errno,omitempty"`
	Errmsg string  `protobuf:"bytes,2,opt,name=errmsg,proto3" json:"errmsg,omitempty"`
	Page   *Page   `protobuf:"bytes,3,opt,name=page,proto3" json:"page,omitempty"`
	Items  []*User `protobuf:"bytes,4,rep,name=items,proto3" json:"items,omitempty"`
	// contains filtered or unexported fields
}

func (*UserQueryResult) Descriptor deprecated

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

Deprecated: Use UserQueryResult.ProtoReflect.Descriptor instead.

func (*UserQueryResult) GetErrmsg

func (x *UserQueryResult) GetErrmsg() string

func (*UserQueryResult) GetErrno

func (x *UserQueryResult) GetErrno() int32

func (*UserQueryResult) GetItems

func (x *UserQueryResult) GetItems() []*User

func (*UserQueryResult) GetPage

func (x *UserQueryResult) GetPage() *Page

func (*UserQueryResult) ProtoMessage

func (*UserQueryResult) ProtoMessage()

func (*UserQueryResult) ProtoReflect

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

func (*UserQueryResult) Reset

func (x *UserQueryResult) Reset()

func (*UserQueryResult) String

func (x *UserQueryResult) String() string

type UserQueryTask

type UserQueryTask struct {
	Q string `protobuf:"bytes,1,opt,name=q,proto3" json:"q,omitempty"`
	P int32  `protobuf:"varint,2,opt,name=p,proto3" json:"p,omitempty"`
	N int32  `protobuf:"varint,3,opt,name=n,proto3" json:"n,omitempty"`
	// contains filtered or unexported fields
}

func (*UserQueryTask) Descriptor deprecated

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

Deprecated: Use UserQueryTask.ProtoReflect.Descriptor instead.

func (*UserQueryTask) GetN

func (x *UserQueryTask) GetN() int32

func (*UserQueryTask) GetP

func (x *UserQueryTask) GetP() int32

func (*UserQueryTask) GetQ

func (x *UserQueryTask) GetQ() string

func (*UserQueryTask) ProtoMessage

func (*UserQueryTask) ProtoMessage()

func (*UserQueryTask) ProtoReflect

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

func (*UserQueryTask) Reset

func (x *UserQueryTask) Reset()

func (*UserQueryTask) String

func (x *UserQueryTask) String() string

type UserResult

type UserResult struct {
	Errno  int32  `protobuf:"varint,1,opt,name=errno,proto3" json:"errno,omitempty"`
	Errmsg string `protobuf:"bytes,2,opt,name=errmsg,proto3" json:"errmsg,omitempty"`
	Data   *User  `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*UserResult) Descriptor deprecated

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

Deprecated: Use UserResult.ProtoReflect.Descriptor instead.

func (*UserResult) GetData

func (x *UserResult) GetData() *User

func (*UserResult) GetErrmsg

func (x *UserResult) GetErrmsg() string

func (*UserResult) GetErrno

func (x *UserResult) GetErrno() int32

func (*UserResult) ProtoMessage

func (*UserResult) ProtoMessage()

func (*UserResult) ProtoReflect

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

func (*UserResult) Reset

func (x *UserResult) Reset()

func (*UserResult) String

func (x *UserResult) String() string

type UserSetTask

type UserSetTask struct {
	Uid      string  `protobuf:"bytes,1,opt,name=uid,proto3" json:"uid,omitempty"`
	Name     *String `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Nick     *String `protobuf:"bytes,3,opt,name=nick,proto3" json:"nick,omitempty"`
	Password *String `protobuf:"bytes,4,opt,name=password,proto3" json:"password,omitempty"`
	// contains filtered or unexported fields
}

func (*UserSetTask) Descriptor deprecated

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

Deprecated: Use UserSetTask.ProtoReflect.Descriptor instead.

func (*UserSetTask) GetName

func (x *UserSetTask) GetName() *String

func (*UserSetTask) GetNick

func (x *UserSetTask) GetNick() *String

func (*UserSetTask) GetPassword

func (x *UserSetTask) GetPassword() *String

func (*UserSetTask) GetUid

func (x *UserSetTask) GetUid() string

func (*UserSetTask) ProtoMessage

func (*UserSetTask) ProtoMessage()

func (*UserSetTask) ProtoReflect

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

func (*UserSetTask) Reset

func (x *UserSetTask) Reset()

func (*UserSetTask) String

func (x *UserSetTask) String() string

Jump to

Keyboard shortcuts

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