Documentation
¶
Index ¶
- Variables
- func RegisterAccountServiceServer(s grpc.ServiceRegistrar, srv AccountServiceServer)
- type AccountListByIdsResult
- func (*AccountListByIdsResult) Descriptor() ([]byte, []int)deprecated
- func (x *AccountListByIdsResult) GetEntities() []*Entity
- func (*AccountListByIdsResult) ProtoMessage()
- func (x *AccountListByIdsResult) ProtoReflect() protoreflect.Message
- func (x *AccountListByIdsResult) Reset()
- func (x *AccountListByIdsResult) String() string
- type AccountServiceClient
- type AccountServiceServer
- type Entity
- func (*Entity) Descriptor() ([]byte, []int)deprecated
- func (x *Entity) GetBirthDate() *timestamp.Timestamp
- func (x *Entity) GetCompletedRate() int32
- func (x *Entity) GetCreatedAt() *timestamp.Timestamp
- func (x *Entity) GetDescription() string
- func (x *Entity) GetFullName() string
- func (x *Entity) GetIsActive() bool
- func (x *Entity) GetIsDeleted() bool
- func (x *Entity) GetIsVerified() bool
- func (x *Entity) GetSocial() []*EntitySocial
- func (x *Entity) GetUpdatedAt() *timestamp.Timestamp
- func (x *Entity) GetUserName() string
- func (x *Entity) GetUserUuid() string
- func (x *Entity) GetUuid() string
- func (*Entity) ProtoMessage()
- func (x *Entity) ProtoReflect() protoreflect.Message
- func (x *Entity) Reset()
- func (x *Entity) String() string
- type EntitySocial
- func (*EntitySocial) Descriptor() ([]byte, []int)deprecated
- func (x *EntitySocial) GetFixedValue() string
- func (x *EntitySocial) GetPlatform() string
- func (x *EntitySocial) GetValue() string
- func (*EntitySocial) ProtoMessage()
- func (x *EntitySocial) ProtoReflect() protoreflect.Message
- func (x *EntitySocial) Reset()
- func (x *EntitySocial) String() string
- type GetAccountListByIdsRequest
- func (*GetAccountListByIdsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetAccountListByIdsRequest) GetUsers() []*UserUnique
- func (*GetAccountListByIdsRequest) ProtoMessage()
- func (x *GetAccountListByIdsRequest) ProtoReflect() protoreflect.Message
- func (x *GetAccountListByIdsRequest) Reset()
- func (x *GetAccountListByIdsRequest) String() string
- type UnimplementedAccountServiceServer
- type UnsafeAccountServiceServer
- type UserUnique
Constants ¶
This section is empty.
Variables ¶
var AccountService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "account.AccountService", HandlerType: (*AccountServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetAccountListByIds", Handler: _AccountService_GetAccountListByIds_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "account/account_list_by_ids.proto", }
AccountService_ServiceDesc is the grpc.ServiceDesc for AccountService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_account_account_list_by_ids_proto protoreflect.FileDescriptor
Functions ¶
func RegisterAccountServiceServer ¶
func RegisterAccountServiceServer(s grpc.ServiceRegistrar, srv AccountServiceServer)
Types ¶
type AccountListByIdsResult ¶
type AccountListByIdsResult struct { Entities []*Entity `protobuf:"bytes,1,rep,name=entities,proto3" json:"entities,omitempty"` // contains filtered or unexported fields }
func (*AccountListByIdsResult) Descriptor
deprecated
func (*AccountListByIdsResult) Descriptor() ([]byte, []int)
Deprecated: Use AccountListByIdsResult.ProtoReflect.Descriptor instead.
func (*AccountListByIdsResult) GetEntities ¶
func (x *AccountListByIdsResult) GetEntities() []*Entity
func (*AccountListByIdsResult) ProtoMessage ¶
func (*AccountListByIdsResult) ProtoMessage()
func (*AccountListByIdsResult) ProtoReflect ¶
func (x *AccountListByIdsResult) ProtoReflect() protoreflect.Message
func (*AccountListByIdsResult) Reset ¶
func (x *AccountListByIdsResult) Reset()
func (*AccountListByIdsResult) String ¶
func (x *AccountListByIdsResult) String() string
type AccountServiceClient ¶
type AccountServiceClient interface {
GetAccountListByIds(ctx context.Context, in *GetAccountListByIdsRequest, opts ...grpc.CallOption) (*AccountListByIdsResult, error)
}
AccountServiceClient is the client API for AccountService 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 NewAccountServiceClient ¶
func NewAccountServiceClient(cc grpc.ClientConnInterface) AccountServiceClient
type AccountServiceServer ¶
type AccountServiceServer interface { GetAccountListByIds(context.Context, *GetAccountListByIdsRequest) (*AccountListByIdsResult, error) // contains filtered or unexported methods }
AccountServiceServer is the server API for AccountService service. All implementations must embed UnimplementedAccountServiceServer for forward compatibility
type Entity ¶
type Entity struct { Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"` UserUuid string `protobuf:"bytes,2,opt,name=user_uuid,json=userUuid,proto3" json:"user_uuid,omitempty"` UserName string `protobuf:"bytes,3,opt,name=user_name,json=userName,proto3" json:"user_name,omitempty"` FullName string `protobuf:"bytes,4,opt,name=full_name,json=fullName,proto3" json:"full_name,omitempty"` Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"` Social []*EntitySocial `protobuf:"bytes,6,rep,name=social,proto3" json:"social,omitempty"` IsActive bool `protobuf:"varint,7,opt,name=is_active,json=isActive,proto3" json:"is_active,omitempty"` CompletedRate int32 `protobuf:"varint,8,opt,name=completed_rate,json=completedRate,proto3" json:"completed_rate,omitempty"` IsDeleted bool `protobuf:"varint,9,opt,name=is_deleted,json=isDeleted,proto3" json:"is_deleted,omitempty"` IsVerified bool `protobuf:"varint,10,opt,name=is_verified,json=isVerified,proto3" json:"is_verified,omitempty"` BirthDate *timestamp.Timestamp `protobuf:"bytes,11,opt,name=birth_date,json=birthDate,proto3" json:"birth_date,omitempty"` CreatedAt *timestamp.Timestamp `protobuf:"bytes,12,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` UpdatedAt *timestamp.Timestamp `protobuf:"bytes,13,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` // contains filtered or unexported fields }
func (*Entity) Descriptor
deprecated
func (*Entity) GetBirthDate ¶
func (*Entity) GetCompletedRate ¶
func (*Entity) GetCreatedAt ¶
func (*Entity) GetDescription ¶
func (*Entity) GetFullName ¶
func (*Entity) GetIsActive ¶
func (*Entity) GetIsDeleted ¶
func (*Entity) GetIsVerified ¶
func (*Entity) GetSocial ¶
func (x *Entity) GetSocial() []*EntitySocial
func (*Entity) GetUpdatedAt ¶
func (*Entity) GetUserName ¶
func (*Entity) GetUserUuid ¶
func (*Entity) ProtoMessage ¶
func (*Entity) ProtoMessage()
func (*Entity) ProtoReflect ¶
func (x *Entity) ProtoReflect() protoreflect.Message
type EntitySocial ¶
type EntitySocial struct { Platform string `protobuf:"bytes,1,opt,name=platform,proto3" json:"platform,omitempty"` Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` FixedValue string `protobuf:"bytes,3,opt,name=fixed_value,json=fixedValue,proto3" json:"fixed_value,omitempty"` // contains filtered or unexported fields }
func (*EntitySocial) Descriptor
deprecated
func (*EntitySocial) Descriptor() ([]byte, []int)
Deprecated: Use EntitySocial.ProtoReflect.Descriptor instead.
func (*EntitySocial) GetFixedValue ¶
func (x *EntitySocial) GetFixedValue() string
func (*EntitySocial) GetPlatform ¶
func (x *EntitySocial) GetPlatform() string
func (*EntitySocial) GetValue ¶
func (x *EntitySocial) GetValue() string
func (*EntitySocial) ProtoMessage ¶
func (*EntitySocial) ProtoMessage()
func (*EntitySocial) ProtoReflect ¶
func (x *EntitySocial) ProtoReflect() protoreflect.Message
func (*EntitySocial) Reset ¶
func (x *EntitySocial) Reset()
func (*EntitySocial) String ¶
func (x *EntitySocial) String() string
type GetAccountListByIdsRequest ¶
type GetAccountListByIdsRequest struct { Users []*UserUnique `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty"` // contains filtered or unexported fields }
func (*GetAccountListByIdsRequest) Descriptor
deprecated
func (*GetAccountListByIdsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetAccountListByIdsRequest.ProtoReflect.Descriptor instead.
func (*GetAccountListByIdsRequest) GetUsers ¶
func (x *GetAccountListByIdsRequest) GetUsers() []*UserUnique
func (*GetAccountListByIdsRequest) ProtoMessage ¶
func (*GetAccountListByIdsRequest) ProtoMessage()
func (*GetAccountListByIdsRequest) ProtoReflect ¶
func (x *GetAccountListByIdsRequest) ProtoReflect() protoreflect.Message
func (*GetAccountListByIdsRequest) Reset ¶
func (x *GetAccountListByIdsRequest) Reset()
func (*GetAccountListByIdsRequest) String ¶
func (x *GetAccountListByIdsRequest) String() string
type UnimplementedAccountServiceServer ¶
type UnimplementedAccountServiceServer struct { }
UnimplementedAccountServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedAccountServiceServer) GetAccountListByIds ¶
func (UnimplementedAccountServiceServer) GetAccountListByIds(context.Context, *GetAccountListByIdsRequest) (*AccountListByIdsResult, error)
type UnsafeAccountServiceServer ¶
type UnsafeAccountServiceServer interface {
// contains filtered or unexported methods
}
UnsafeAccountServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AccountServiceServer will result in compilation errors.
type UserUnique ¶
type UserUnique struct { Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*UserUnique) Descriptor
deprecated
func (*UserUnique) Descriptor() ([]byte, []int)
Deprecated: Use UserUnique.ProtoReflect.Descriptor instead.
func (*UserUnique) GetName ¶
func (x *UserUnique) GetName() string
func (*UserUnique) GetUuid ¶
func (x *UserUnique) GetUuid() string
func (*UserUnique) ProtoMessage ¶
func (*UserUnique) ProtoMessage()
func (*UserUnique) ProtoReflect ¶
func (x *UserUnique) ProtoReflect() protoreflect.Message
func (*UserUnique) Reset ¶
func (x *UserUnique) Reset()
func (*UserUnique) String ¶
func (x *UserUnique) String() string