Documentation ¶
Index ¶
- Variables
- type DdbProto
- func (b *DdbProto) DeleteProto(ctx context.Context, columnFamily string, rowKey string) error
- func (b *DdbProto) ListProtos(ctx context.Context, columnFamily string, messageType proto.Message, ...) ([]proto.Message, string, error)
- func (b *DdbProto) ReadProto(ctx context.Context, rowKey string, columnFamily string, message proto.Message, ...) error
- func (b *DdbProto) UpdateProto(ctx context.Context, rowKey string, columnFamily string, message proto.Message, ...) error
- func (b *DdbProto) WriteProto(ctx context.Context, rowKey string, columnFamily string, message proto.Message) error
- type ErrInvalidNextToken
- type ErrMismatchedTypes
- type ErrNegativePageSize
- type ErrNotFound
- type Item
- type PageOptions
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrInvalidFieldMask = errors.New("invalid field mask")
Functions ¶
This section is empty.
Types ¶
type DdbProto ¶
type DdbProto struct {
// contains filtered or unexported fields
}
func NewClient ¶
region must a valid aws region like "us-east-1" or "af-south-1" Either you need to have configured your aws credentials in ~/.aws/credentials or you need to set the AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY environment variables
func (*DdbProto) DeleteProto ¶
func (*DdbProto) ListProtos ¶
func (*DdbProto) UpdateProto ¶
type ErrInvalidNextToken ¶
type ErrInvalidNextToken struct {
// contains filtered or unexported fields
}
func (ErrInvalidNextToken) Error ¶
func (e ErrInvalidNextToken) Error() string
type ErrMismatchedTypes ¶
func (ErrMismatchedTypes) Error ¶
func (e ErrMismatchedTypes) Error() string
type ErrNegativePageSize ¶
type ErrNegativePageSize struct{}
func (ErrNegativePageSize) Error ¶
func (e ErrNegativePageSize) Error() string
type ErrNotFound ¶
type ErrNotFound struct {
RowKey string // unavailable locations
}
ErrNotFound is returned when the desired resource is not found in Bigtable.
func (ErrNotFound) Error ¶
func (e ErrNotFound) Error() string
type PageOptions ¶
Click to show internal directories.
Click to hide internal directories.