Documentation
¶
Index ¶
- Variables
- func StoreGsi1PkKey(id string, country string, foo uint64) string
- func StoreGsi1SkKey() string
- func StorePartitionKey(id string, country string, foo uint64) string
- func StoreSortKey() string
- func StoreV2Gsi1PkKey(id string, country string, foo uint64) string
- func StoreV2Gsi1SkKey() string
- func StoreV2PartitionKey(id string, country string, foo uint64) string
- func StoreV2SortKey() string
- func UserGsi1PkKey(tenantId string) string
- func UserGsi1SkKey(idpId string) string
- func UserGsi2PkKey(tenantId string) string
- func UserGsi2SkKey(idpId string, anEnum BasicEnum) string
- func UserPartitionKey(tenantId string) string
- func UserSortKey(id string) string
- func UserV2Gsi1PkKey(tenantId string) string
- func UserV2Gsi1SkKey(idpId string) string
- func UserV2Gsi2PkKey(tenantId string) string
- func UserV2Gsi2SkKey(idpId string, anEnum BasicEnum) string
- func UserV2PartitionKey(tenantId string) string
- func UserV2SortKey(id string) string
- type BasicEnum
- type Store
- func (*Store) Descriptor() ([]byte, []int)deprecated
- func (x *Store) GetBestEmployeeIds() []string
- func (x *Store) GetBinDate() *timestamppb.Timestamp
- func (x *Store) GetCity() string
- func (x *Store) GetClosed() bool
- func (x *Store) GetCountry() string
- func (x *Store) GetExpiresAt() *timestamppb.Timestamp
- func (x *Store) GetExpiresAtMs() *timestamppb.Timestamp
- func (x *Store) GetExpiresAtNs() *timestamppb.Timestamp
- func (x *Store) GetFoo() uint64
- func (x *Store) GetId() string
- func (x *Store) GetMorefoo() []uint64
- func (x *Store) GetOpeningDate() *timestamppb.Timestamp
- func (x *Store) GetRegion() string
- func (x *Store) GetState() string
- func (x *Store) GetUpdatedAt() *timestamppb.Timestamp
- func (p *Store) Gsi1PkKey() string
- func (p *Store) Gsi1SkKey() string
- func (p *Store) MarshalDynamo() (types.AttributeValue, error)
- func (p *Store) MarshalDynamoDBAttributeValue() (types.AttributeValue, error)
- func (p *Store) MarshalDynamoItem() (map[string]types.AttributeValue, error)
- func (p *Store) PartitionKey() string
- func (*Store) ProtoMessage()
- func (x *Store) ProtoReflect() protoreflect.Message
- func (x *Store) Reset()
- func (p *Store) SortKey() string
- func (x *Store) String() string
- func (p *Store) UnmarshalDynamo(av types.AttributeValue) error
- func (p *Store) UnmarshalDynamoDBAttributeValue(av types.AttributeValue) error
- func (p *Store) UnmarshalDynamoItem(av map[string]types.AttributeValue) error
- func (p *Store) Version() (int64, error)
- type StoreV2
- func (*StoreV2) Descriptor() ([]byte, []int)deprecated
- func (x *StoreV2) GetBestEmployeeIds() []string
- func (x *StoreV2) GetBinDate() *timestamppb.Timestamp
- func (x *StoreV2) GetCity() string
- func (x *StoreV2) GetClosed() bool
- func (x *StoreV2) GetCountry() string
- func (x *StoreV2) GetExpiresAt() *timestamppb.Timestamp
- func (x *StoreV2) GetExpiresAtMs() *timestamppb.Timestamp
- func (x *StoreV2) GetExpiresAtNs() *timestamppb.Timestamp
- func (x *StoreV2) GetFoo() uint64
- func (x *StoreV2) GetId() string
- func (x *StoreV2) GetMorefoo() []uint64
- func (x *StoreV2) GetOpeningDate() *timestamppb.Timestamp
- func (x *StoreV2) GetRegion() string
- func (x *StoreV2) GetState() string
- func (x *StoreV2) GetUpdatedAt() *timestamppb.Timestamp
- func (p *StoreV2) Gsi1PkKey() string
- func (p *StoreV2) Gsi1SkKey() string
- func (p *StoreV2) MarshalDynamo() (types.AttributeValue, error)
- func (p *StoreV2) MarshalDynamoDBAttributeValue() (types.AttributeValue, error)
- func (p *StoreV2) MarshalDynamoItem() (map[string]types.AttributeValue, error)
- func (p *StoreV2) PartitionKey() string
- func (*StoreV2) ProtoMessage()
- func (x *StoreV2) ProtoReflect() protoreflect.Message
- func (x *StoreV2) Reset()
- func (p *StoreV2) SortKey() string
- func (x *StoreV2) String() string
- func (p *StoreV2) UnmarshalDynamo(av types.AttributeValue) error
- func (p *StoreV2) UnmarshalDynamoDBAttributeValue(av types.AttributeValue) error
- func (p *StoreV2) UnmarshalDynamoItem(av map[string]types.AttributeValue) error
- func (p *StoreV2) Version() (int64, error)
- type User
- func (*User) Descriptor() ([]byte, []int)deprecated
- func (x *User) GetAnEnum() BasicEnum
- func (x *User) GetCreatedAt() *timestamppb.Timestamp
- func (x *User) GetDeletedAt() *timestamppb.Timestamp
- func (x *User) GetDisplayName() string
- func (x *User) GetEmail() string
- func (x *User) GetId() string
- func (x *User) GetIdpId() string
- func (x *User) GetTenantId() string
- func (x *User) GetUpdatedAt() *timestamppb.Timestamp
- func (p *User) Gsi1PkKey() string
- func (p *User) Gsi1SkKey() string
- func (p *User) Gsi2PkKey() string
- func (p *User) Gsi2SkKey() string
- func (p *User) MarshalDynamo() (types.AttributeValue, error)
- func (p *User) MarshalDynamoDBAttributeValue() (types.AttributeValue, error)
- func (p *User) MarshalDynamoItem() (map[string]types.AttributeValue, error)
- func (p *User) PartitionKey() string
- func (*User) ProtoMessage()
- func (x *User) ProtoReflect() protoreflect.Message
- func (x *User) Reset()
- func (p *User) SortKey() string
- func (x *User) String() string
- func (p *User) UnmarshalDynamo(av types.AttributeValue) error
- func (p *User) UnmarshalDynamoDBAttributeValue(av types.AttributeValue) error
- func (p *User) UnmarshalDynamoItem(av map[string]types.AttributeValue) error
- func (p *User) Version() (int64, error)
- type UserV2
- func (*UserV2) Descriptor() ([]byte, []int)deprecated
- func (x *UserV2) GetAnEnum() BasicEnum
- func (x *UserV2) GetCreatedAt() *timestamppb.Timestamp
- func (x *UserV2) GetDeletedAt() *timestamppb.Timestamp
- func (x *UserV2) GetDisplayName() string
- func (x *UserV2) GetEmail() string
- func (x *UserV2) GetId() string
- func (x *UserV2) GetIdpId() string
- func (x *UserV2) GetTenantId() string
- func (x *UserV2) GetUpdatedAt() *timestamppb.Timestamp
- func (p *UserV2) Gsi1PkKey() string
- func (p *UserV2) Gsi1SkKey() string
- func (p *UserV2) Gsi2PkKey() string
- func (p *UserV2) Gsi2SkKey() string
- func (p *UserV2) MarshalDynamo() (types.AttributeValue, error)
- func (p *UserV2) MarshalDynamoDBAttributeValue() (types.AttributeValue, error)
- func (p *UserV2) MarshalDynamoItem() (map[string]types.AttributeValue, error)
- func (p *UserV2) PartitionKey() string
- func (*UserV2) ProtoMessage()
- func (x *UserV2) ProtoReflect() protoreflect.Message
- func (x *UserV2) Reset()
- func (p *UserV2) SortKey() string
- func (x *UserV2) String() string
- func (p *UserV2) UnmarshalDynamo(av types.AttributeValue) error
- func (p *UserV2) UnmarshalDynamoDBAttributeValue(av types.AttributeValue) error
- func (p *UserV2) UnmarshalDynamoItem(av map[string]types.AttributeValue) error
- func (p *UserV2) Version() (int64, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ( BasicEnum_name = map[int32]string{ 0: "First", 1: "Second", } BasicEnum_value = map[string]int32{ "First": 0, "Second": 1, } )
Enum value maps for BasicEnum.
View Source
var File_v1_example_proto protoreflect.FileDescriptor
Functions ¶
func StoreGsi1SkKey ¶
func StoreGsi1SkKey() string
func StoreSortKey ¶
func StoreSortKey() string
func StoreV2Gsi1PkKey ¶ added in v0.6.0
func StoreV2Gsi1SkKey ¶ added in v0.6.0
func StoreV2Gsi1SkKey() string
func StoreV2PartitionKey ¶ added in v0.6.0
func StoreV2SortKey ¶ added in v0.6.0
func StoreV2SortKey() string
func UserGsi1PkKey ¶
func UserGsi1SkKey ¶
func UserGsi2PkKey ¶
func UserGsi2SkKey ¶ added in v0.6.0
func UserPartitionKey ¶
func UserSortKey ¶
func UserV2Gsi1PkKey ¶ added in v0.6.0
func UserV2Gsi1SkKey ¶ added in v0.6.0
func UserV2Gsi2PkKey ¶ added in v0.6.0
func UserV2Gsi2SkKey ¶ added in v0.6.0
func UserV2PartitionKey ¶ added in v0.6.0
func UserV2SortKey ¶ added in v0.6.0
Types ¶
type BasicEnum ¶
type BasicEnum int32
func (BasicEnum) Descriptor ¶
func (BasicEnum) Descriptor() protoreflect.EnumDescriptor
func (BasicEnum) EnumDescriptor
deprecated
func (BasicEnum) Number ¶
func (x BasicEnum) Number() protoreflect.EnumNumber
func (BasicEnum) Type ¶
func (BasicEnum) Type() protoreflect.EnumType
type Store ¶
type Store struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Country string `protobuf:"bytes,2,opt,name=country,proto3" json:"country,omitempty"` Region string `protobuf:"bytes,3,opt,name=region,proto3" json:"region,omitempty"` State string `protobuf:"bytes,4,opt,name=state,proto3" json:"state,omitempty"` City string `protobuf:"bytes,5,opt,name=city,proto3" json:"city,omitempty"` Closed bool `protobuf:"varint,6,opt,name=closed,proto3" json:"closed,omitempty"` OpeningDate *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=opening_date,json=openingDate,proto3" json:"opening_date,omitempty"` BestEmployeeIds []string `protobuf:"bytes,8,rep,name=best_employee_ids,json=bestEmployeeIds,proto3" json:"best_employee_ids,omitempty"` BinDate *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=bin_date,json=binDate,proto3" json:"bin_date,omitempty"` UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` ExpiresAt *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=expires_at,json=expiresAt,proto3" json:"expires_at,omitempty"` ExpiresAtMs *timestamppb.Timestamp `protobuf:"bytes,12,opt,name=expires_at_ms,json=expiresAtMs,proto3" json:"expires_at_ms,omitempty"` ExpiresAtNs *timestamppb.Timestamp `protobuf:"bytes,13,opt,name=expires_at_ns,json=expiresAtNs,proto3" json:"expires_at_ns,omitempty"` Foo uint64 `protobuf:"varint,99,opt,name=foo,proto3" json:"foo,omitempty"` Morefoo []uint64 `protobuf:"varint,100,rep,packed,name=morefoo,proto3" json:"morefoo,omitempty"` // contains filtered or unexported fields }
func (*Store) Descriptor
deprecated
func (*Store) GetBestEmployeeIds ¶
func (*Store) GetBinDate ¶
func (x *Store) GetBinDate() *timestamppb.Timestamp
func (*Store) GetCountry ¶
func (*Store) GetExpiresAt ¶
func (x *Store) GetExpiresAt() *timestamppb.Timestamp
func (*Store) GetExpiresAtMs ¶
func (x *Store) GetExpiresAtMs() *timestamppb.Timestamp
func (*Store) GetExpiresAtNs ¶
func (x *Store) GetExpiresAtNs() *timestamppb.Timestamp
func (*Store) GetMorefoo ¶
func (*Store) GetOpeningDate ¶
func (x *Store) GetOpeningDate() *timestamppb.Timestamp
func (*Store) GetUpdatedAt ¶
func (x *Store) GetUpdatedAt() *timestamppb.Timestamp
func (*Store) MarshalDynamo ¶
func (p *Store) MarshalDynamo() (types.AttributeValue, error)
func (*Store) MarshalDynamoDBAttributeValue ¶
func (p *Store) MarshalDynamoDBAttributeValue() (types.AttributeValue, error)
func (*Store) MarshalDynamoItem ¶
func (p *Store) MarshalDynamoItem() (map[string]types.AttributeValue, error)
func (*Store) PartitionKey ¶
func (*Store) ProtoMessage ¶
func (*Store) ProtoMessage()
func (*Store) ProtoReflect ¶
func (x *Store) ProtoReflect() protoreflect.Message
func (*Store) UnmarshalDynamo ¶
func (p *Store) UnmarshalDynamo(av types.AttributeValue) error
func (*Store) UnmarshalDynamoDBAttributeValue ¶
func (p *Store) UnmarshalDynamoDBAttributeValue(av types.AttributeValue) error
func (*Store) UnmarshalDynamoItem ¶
func (p *Store) UnmarshalDynamoItem(av map[string]types.AttributeValue) error
type StoreV2 ¶ added in v0.6.0
type StoreV2 struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Country string `protobuf:"bytes,2,opt,name=country,proto3" json:"country,omitempty"` Region string `protobuf:"bytes,3,opt,name=region,proto3" json:"region,omitempty"` State string `protobuf:"bytes,4,opt,name=state,proto3" json:"state,omitempty"` City string `protobuf:"bytes,5,opt,name=city,proto3" json:"city,omitempty"` Closed bool `protobuf:"varint,6,opt,name=closed,proto3" json:"closed,omitempty"` OpeningDate *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=opening_date,json=openingDate,proto3" json:"opening_date,omitempty"` BestEmployeeIds []string `protobuf:"bytes,8,rep,name=best_employee_ids,json=bestEmployeeIds,proto3" json:"best_employee_ids,omitempty"` BinDate *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=bin_date,json=binDate,proto3" json:"bin_date,omitempty"` UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` ExpiresAt *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=expires_at,json=expiresAt,proto3" json:"expires_at,omitempty"` ExpiresAtMs *timestamppb.Timestamp `protobuf:"bytes,12,opt,name=expires_at_ms,json=expiresAtMs,proto3" json:"expires_at_ms,omitempty"` ExpiresAtNs *timestamppb.Timestamp `protobuf:"bytes,13,opt,name=expires_at_ns,json=expiresAtNs,proto3" json:"expires_at_ns,omitempty"` Foo uint64 `protobuf:"varint,99,opt,name=foo,proto3" json:"foo,omitempty"` Morefoo []uint64 `protobuf:"varint,100,rep,packed,name=morefoo,proto3" json:"morefoo,omitempty"` // contains filtered or unexported fields }
func (*StoreV2) Descriptor
deprecated
added in
v0.6.0
func (*StoreV2) GetBestEmployeeIds ¶ added in v0.6.0
func (*StoreV2) GetBinDate ¶ added in v0.6.0
func (x *StoreV2) GetBinDate() *timestamppb.Timestamp
func (*StoreV2) GetCountry ¶ added in v0.6.0
func (*StoreV2) GetExpiresAt ¶ added in v0.6.0
func (x *StoreV2) GetExpiresAt() *timestamppb.Timestamp
func (*StoreV2) GetExpiresAtMs ¶ added in v0.6.0
func (x *StoreV2) GetExpiresAtMs() *timestamppb.Timestamp
func (*StoreV2) GetExpiresAtNs ¶ added in v0.6.0
func (x *StoreV2) GetExpiresAtNs() *timestamppb.Timestamp
func (*StoreV2) GetMorefoo ¶ added in v0.6.0
func (*StoreV2) GetOpeningDate ¶ added in v0.6.0
func (x *StoreV2) GetOpeningDate() *timestamppb.Timestamp
func (*StoreV2) GetUpdatedAt ¶ added in v0.6.0
func (x *StoreV2) GetUpdatedAt() *timestamppb.Timestamp
func (*StoreV2) MarshalDynamo ¶ added in v0.6.0
func (p *StoreV2) MarshalDynamo() (types.AttributeValue, error)
func (*StoreV2) MarshalDynamoDBAttributeValue ¶ added in v0.6.0
func (p *StoreV2) MarshalDynamoDBAttributeValue() (types.AttributeValue, error)
func (*StoreV2) MarshalDynamoItem ¶ added in v0.6.0
func (p *StoreV2) MarshalDynamoItem() (map[string]types.AttributeValue, error)
func (*StoreV2) PartitionKey ¶ added in v0.6.0
func (*StoreV2) ProtoMessage ¶ added in v0.6.0
func (*StoreV2) ProtoMessage()
func (*StoreV2) ProtoReflect ¶ added in v0.6.0
func (x *StoreV2) ProtoReflect() protoreflect.Message
func (*StoreV2) UnmarshalDynamo ¶ added in v0.6.0
func (p *StoreV2) UnmarshalDynamo(av types.AttributeValue) error
func (*StoreV2) UnmarshalDynamoDBAttributeValue ¶ added in v0.6.0
func (p *StoreV2) UnmarshalDynamoDBAttributeValue(av types.AttributeValue) error
func (*StoreV2) UnmarshalDynamoItem ¶ added in v0.6.0
func (p *StoreV2) UnmarshalDynamoItem(av map[string]types.AttributeValue) error
type User ¶
type User struct { TenantId string `protobuf:"bytes,1,opt,name=tenant_id,json=tenantId,proto3" json:"tenant_id,omitempty"` Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` CreatedAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` DeletedAt *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=deleted_at,json=deletedAt,proto3" json:"deleted_at,omitempty"` IdpId string `protobuf:"bytes,6,opt,name=idp_id,json=idpId,proto3" json:"idp_id,omitempty"` DisplayName string `protobuf:"bytes,7,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` Email string `protobuf:"bytes,8,opt,name=email,proto3" json:"email,omitempty"` AnEnum BasicEnum `protobuf:"varint,9,opt,name=an_enum,json=anEnum,proto3,enum=examplepb.v1.BasicEnum" json:"an_enum,omitempty"` // contains filtered or unexported fields }
func (*User) Descriptor
deprecated
func (*User) GetCreatedAt ¶
func (x *User) GetCreatedAt() *timestamppb.Timestamp
func (*User) GetDeletedAt ¶
func (x *User) GetDeletedAt() *timestamppb.Timestamp
func (*User) GetDisplayName ¶
func (*User) GetTenantId ¶
func (*User) GetUpdatedAt ¶
func (x *User) GetUpdatedAt() *timestamppb.Timestamp
func (*User) MarshalDynamo ¶
func (p *User) MarshalDynamo() (types.AttributeValue, error)
func (*User) MarshalDynamoDBAttributeValue ¶
func (p *User) MarshalDynamoDBAttributeValue() (types.AttributeValue, error)
func (*User) MarshalDynamoItem ¶
func (p *User) MarshalDynamoItem() (map[string]types.AttributeValue, error)
func (*User) PartitionKey ¶
func (*User) ProtoMessage ¶
func (*User) ProtoMessage()
func (*User) ProtoReflect ¶
func (x *User) ProtoReflect() protoreflect.Message
func (*User) UnmarshalDynamo ¶
func (p *User) UnmarshalDynamo(av types.AttributeValue) error
func (*User) UnmarshalDynamoDBAttributeValue ¶
func (p *User) UnmarshalDynamoDBAttributeValue(av types.AttributeValue) error
func (*User) UnmarshalDynamoItem ¶
func (p *User) UnmarshalDynamoItem(av map[string]types.AttributeValue) error
type UserV2 ¶ added in v0.6.0
type UserV2 struct { TenantId string `protobuf:"bytes,1,opt,name=tenant_id,json=tenantId,proto3" json:"tenant_id,omitempty"` Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` CreatedAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` DeletedAt *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=deleted_at,json=deletedAt,proto3" json:"deleted_at,omitempty"` IdpId string `protobuf:"bytes,6,opt,name=idp_id,json=idpId,proto3" json:"idp_id,omitempty"` DisplayName string `protobuf:"bytes,7,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` Email string `protobuf:"bytes,8,opt,name=email,proto3" json:"email,omitempty"` AnEnum BasicEnum `protobuf:"varint,9,opt,name=an_enum,json=anEnum,proto3,enum=examplepb.v1.BasicEnum" json:"an_enum,omitempty"` // contains filtered or unexported fields }
func (*UserV2) Descriptor
deprecated
added in
v0.6.0
func (*UserV2) GetCreatedAt ¶ added in v0.6.0
func (x *UserV2) GetCreatedAt() *timestamppb.Timestamp
func (*UserV2) GetDeletedAt ¶ added in v0.6.0
func (x *UserV2) GetDeletedAt() *timestamppb.Timestamp
func (*UserV2) GetDisplayName ¶ added in v0.6.0
func (*UserV2) GetTenantId ¶ added in v0.6.0
func (*UserV2) GetUpdatedAt ¶ added in v0.6.0
func (x *UserV2) GetUpdatedAt() *timestamppb.Timestamp
func (*UserV2) MarshalDynamo ¶ added in v0.6.0
func (p *UserV2) MarshalDynamo() (types.AttributeValue, error)
func (*UserV2) MarshalDynamoDBAttributeValue ¶ added in v0.6.0
func (p *UserV2) MarshalDynamoDBAttributeValue() (types.AttributeValue, error)
func (*UserV2) MarshalDynamoItem ¶ added in v0.6.0
func (p *UserV2) MarshalDynamoItem() (map[string]types.AttributeValue, error)
func (*UserV2) PartitionKey ¶ added in v0.6.0
func (*UserV2) ProtoMessage ¶ added in v0.6.0
func (*UserV2) ProtoMessage()
func (*UserV2) ProtoReflect ¶ added in v0.6.0
func (x *UserV2) ProtoReflect() protoreflect.Message
func (*UserV2) UnmarshalDynamo ¶ added in v0.6.0
func (p *UserV2) UnmarshalDynamo(av types.AttributeValue) error
func (*UserV2) UnmarshalDynamoDBAttributeValue ¶ added in v0.6.0
func (p *UserV2) UnmarshalDynamoDBAttributeValue(av types.AttributeValue) error
func (*UserV2) UnmarshalDynamoItem ¶ added in v0.6.0
func (p *UserV2) UnmarshalDynamoItem(av map[string]types.AttributeValue) error
Click to show internal directories.
Click to hide internal directories.