account

package
v0.0.0-...-9d06c01 Latest Latest
Warning

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

Go to latest
Published: May 17, 2024 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
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)

View Source
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.

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) Descriptor() ([]byte, []int)

Deprecated: Use Entity.ProtoReflect.Descriptor instead.

func (*Entity) GetBirthDate

func (x *Entity) GetBirthDate() *timestamp.Timestamp

func (*Entity) GetCompletedRate

func (x *Entity) GetCompletedRate() int32

func (*Entity) GetCreatedAt

func (x *Entity) GetCreatedAt() *timestamp.Timestamp

func (*Entity) GetDescription

func (x *Entity) GetDescription() string

func (*Entity) GetFullName

func (x *Entity) GetFullName() string

func (*Entity) GetIsActive

func (x *Entity) GetIsActive() bool

func (*Entity) GetIsDeleted

func (x *Entity) GetIsDeleted() bool

func (*Entity) GetIsVerified

func (x *Entity) GetIsVerified() bool

func (*Entity) GetSocial

func (x *Entity) GetSocial() []*EntitySocial

func (*Entity) GetUpdatedAt

func (x *Entity) GetUpdatedAt() *timestamp.Timestamp

func (*Entity) GetUserName

func (x *Entity) GetUserName() string

func (*Entity) GetUserUuid

func (x *Entity) GetUserUuid() string

func (*Entity) GetUuid

func (x *Entity) GetUuid() string

func (*Entity) ProtoMessage

func (*Entity) ProtoMessage()

func (*Entity) ProtoReflect

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

func (*Entity) Reset

func (x *Entity) Reset()

func (*Entity) String

func (x *Entity) String() string

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 (*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

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

Jump to

Keyboard shortcuts

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