bcdb

package
v0.0.0-...-c58459f Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2020 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewBCDBAuthenticator

func NewBCDBAuthenticator(id uint64, seed []byte, opt ...AuthOption) (credentials.PerRPCCredentials, error)

NewBCDBAuthenticator creates a new credentials.PerRPCCredentials

func NewBCDBAuthenticatorFromMnemonic

func NewBCDBAuthenticatorFromMnemonic(id uint64, mnemonic string, opt ...AuthOption) (credentials.PerRPCCredentials, error)

NewBCDBAuthenticatorFromMnemonic creates a new credentials.PerRPCCredentials

func RegisterAclServer

func RegisterAclServer(s *grpc.Server, srv AclServer)

func RegisterBCDBServer

func RegisterBCDBServer(s *grpc.Server, srv BCDBServer)

func RegisterIdentityServer

func RegisterIdentityServer(s *grpc.Server, srv IdentityServer)

Types

type ACL

type ACL struct {
	Perm                 string   `protobuf:"bytes,1,opt,name=perm,proto3" json:"perm,omitempty"`
	Users                []uint64 `protobuf:"varint,2,rep,packed,name=users,proto3" json:"users,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ACL) Descriptor

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

func (*ACL) GetPerm

func (m *ACL) GetPerm() string

func (*ACL) GetUsers

func (m *ACL) GetUsers() []uint64

func (*ACL) ProtoMessage

func (*ACL) ProtoMessage()

func (*ACL) Reset

func (m *ACL) Reset()

func (*ACL) String

func (m *ACL) String() string

func (*ACL) XXX_DiscardUnknown

func (m *ACL) XXX_DiscardUnknown()

func (*ACL) XXX_Marshal

func (m *ACL) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ACL) XXX_Merge

func (m *ACL) XXX_Merge(src proto.Message)

func (*ACL) XXX_Size

func (m *ACL) XXX_Size() int

func (*ACL) XXX_Unmarshal

func (m *ACL) XXX_Unmarshal(b []byte) error

type ACLCreateRequest

type ACLCreateRequest struct {
	Acl                  *ACL     `protobuf:"bytes,1,opt,name=acl,proto3" json:"acl,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ACLCreateRequest) Descriptor

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

func (*ACLCreateRequest) GetAcl

func (m *ACLCreateRequest) GetAcl() *ACL

func (*ACLCreateRequest) ProtoMessage

func (*ACLCreateRequest) ProtoMessage()

func (*ACLCreateRequest) Reset

func (m *ACLCreateRequest) Reset()

func (*ACLCreateRequest) String

func (m *ACLCreateRequest) String() string

func (*ACLCreateRequest) XXX_DiscardUnknown

func (m *ACLCreateRequest) XXX_DiscardUnknown()

func (*ACLCreateRequest) XXX_Marshal

func (m *ACLCreateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ACLCreateRequest) XXX_Merge

func (m *ACLCreateRequest) XXX_Merge(src proto.Message)

func (*ACLCreateRequest) XXX_Size

func (m *ACLCreateRequest) XXX_Size() int

func (*ACLCreateRequest) XXX_Unmarshal

func (m *ACLCreateRequest) XXX_Unmarshal(b []byte) error

type ACLCreateResponse

type ACLCreateResponse struct {
	Key                  uint32   `protobuf:"varint,1,opt,name=key,proto3" json:"key,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ACLCreateResponse) Descriptor

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

func (*ACLCreateResponse) GetKey

func (m *ACLCreateResponse) GetKey() uint32

func (*ACLCreateResponse) ProtoMessage

func (*ACLCreateResponse) ProtoMessage()

func (*ACLCreateResponse) Reset

func (m *ACLCreateResponse) Reset()

func (*ACLCreateResponse) String

func (m *ACLCreateResponse) String() string

func (*ACLCreateResponse) XXX_DiscardUnknown

func (m *ACLCreateResponse) XXX_DiscardUnknown()

func (*ACLCreateResponse) XXX_Marshal

func (m *ACLCreateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ACLCreateResponse) XXX_Merge

func (m *ACLCreateResponse) XXX_Merge(src proto.Message)

func (*ACLCreateResponse) XXX_Size

func (m *ACLCreateResponse) XXX_Size() int

func (*ACLCreateResponse) XXX_Unmarshal

func (m *ACLCreateResponse) XXX_Unmarshal(b []byte) error

type ACLGetRequest

type ACLGetRequest struct {
	Key                  uint32   `protobuf:"varint,1,opt,name=key,proto3" json:"key,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ACLGetRequest) Descriptor

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

func (*ACLGetRequest) GetKey

func (m *ACLGetRequest) GetKey() uint32

func (*ACLGetRequest) ProtoMessage

func (*ACLGetRequest) ProtoMessage()

func (*ACLGetRequest) Reset

func (m *ACLGetRequest) Reset()

func (*ACLGetRequest) String

func (m *ACLGetRequest) String() string

func (*ACLGetRequest) XXX_DiscardUnknown

func (m *ACLGetRequest) XXX_DiscardUnknown()

func (*ACLGetRequest) XXX_Marshal

func (m *ACLGetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ACLGetRequest) XXX_Merge

func (m *ACLGetRequest) XXX_Merge(src proto.Message)

func (*ACLGetRequest) XXX_Size

func (m *ACLGetRequest) XXX_Size() int

func (*ACLGetRequest) XXX_Unmarshal

func (m *ACLGetRequest) XXX_Unmarshal(b []byte) error

type ACLGetResponse

type ACLGetResponse struct {
	Acl                  *ACL     `protobuf:"bytes,1,opt,name=acl,proto3" json:"acl,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ACLGetResponse) Descriptor

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

func (*ACLGetResponse) GetAcl

func (m *ACLGetResponse) GetAcl() *ACL

func (*ACLGetResponse) ProtoMessage

func (*ACLGetResponse) ProtoMessage()

func (*ACLGetResponse) Reset

func (m *ACLGetResponse) Reset()

func (*ACLGetResponse) String

func (m *ACLGetResponse) String() string

func (*ACLGetResponse) XXX_DiscardUnknown

func (m *ACLGetResponse) XXX_DiscardUnknown()

func (*ACLGetResponse) XXX_Marshal

func (m *ACLGetResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ACLGetResponse) XXX_Merge

func (m *ACLGetResponse) XXX_Merge(src proto.Message)

func (*ACLGetResponse) XXX_Size

func (m *ACLGetResponse) XXX_Size() int

func (*ACLGetResponse) XXX_Unmarshal

func (m *ACLGetResponse) XXX_Unmarshal(b []byte) error

type ACLListRequest

type ACLListRequest struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ACLListRequest) Descriptor

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

func (*ACLListRequest) ProtoMessage

func (*ACLListRequest) ProtoMessage()

func (*ACLListRequest) Reset

func (m *ACLListRequest) Reset()

func (*ACLListRequest) String

func (m *ACLListRequest) String() string

func (*ACLListRequest) XXX_DiscardUnknown

func (m *ACLListRequest) XXX_DiscardUnknown()

func (*ACLListRequest) XXX_Marshal

func (m *ACLListRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ACLListRequest) XXX_Merge

func (m *ACLListRequest) XXX_Merge(src proto.Message)

func (*ACLListRequest) XXX_Size

func (m *ACLListRequest) XXX_Size() int

func (*ACLListRequest) XXX_Unmarshal

func (m *ACLListRequest) XXX_Unmarshal(b []byte) error

type ACLListResponse

type ACLListResponse struct {
	Key                  uint32   `protobuf:"varint,1,opt,name=key,proto3" json:"key,omitempty"`
	Acl                  *ACL     `protobuf:"bytes,2,opt,name=acl,proto3" json:"acl,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ACLListResponse) Descriptor

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

func (*ACLListResponse) GetAcl

func (m *ACLListResponse) GetAcl() *ACL

func (*ACLListResponse) GetKey

func (m *ACLListResponse) GetKey() uint32

func (*ACLListResponse) ProtoMessage

func (*ACLListResponse) ProtoMessage()

func (*ACLListResponse) Reset

func (m *ACLListResponse) Reset()

func (*ACLListResponse) String

func (m *ACLListResponse) String() string

func (*ACLListResponse) XXX_DiscardUnknown

func (m *ACLListResponse) XXX_DiscardUnknown()

func (*ACLListResponse) XXX_Marshal

func (m *ACLListResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ACLListResponse) XXX_Merge

func (m *ACLListResponse) XXX_Merge(src proto.Message)

func (*ACLListResponse) XXX_Size

func (m *ACLListResponse) XXX_Size() int

func (*ACLListResponse) XXX_Unmarshal

func (m *ACLListResponse) XXX_Unmarshal(b []byte) error

type ACLSetRequest

type ACLSetRequest struct {
	Key                  uint32   `protobuf:"varint,1,opt,name=key,proto3" json:"key,omitempty"`
	Perm                 string   `protobuf:"bytes,2,opt,name=perm,proto3" json:"perm,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ACLSetRequest) Descriptor

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

func (*ACLSetRequest) GetKey

func (m *ACLSetRequest) GetKey() uint32

func (*ACLSetRequest) GetPerm

func (m *ACLSetRequest) GetPerm() string

func (*ACLSetRequest) ProtoMessage

func (*ACLSetRequest) ProtoMessage()

func (*ACLSetRequest) Reset

func (m *ACLSetRequest) Reset()

func (*ACLSetRequest) String

func (m *ACLSetRequest) String() string

func (*ACLSetRequest) XXX_DiscardUnknown

func (m *ACLSetRequest) XXX_DiscardUnknown()

func (*ACLSetRequest) XXX_Marshal

func (m *ACLSetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ACLSetRequest) XXX_Merge

func (m *ACLSetRequest) XXX_Merge(src proto.Message)

func (*ACLSetRequest) XXX_Size

func (m *ACLSetRequest) XXX_Size() int

func (*ACLSetRequest) XXX_Unmarshal

func (m *ACLSetRequest) XXX_Unmarshal(b []byte) error

type ACLSetResponse

type ACLSetResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ACLSetResponse) Descriptor

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

func (*ACLSetResponse) ProtoMessage

func (*ACLSetResponse) ProtoMessage()

func (*ACLSetResponse) Reset

func (m *ACLSetResponse) Reset()

func (*ACLSetResponse) String

func (m *ACLSetResponse) String() string

func (*ACLSetResponse) XXX_DiscardUnknown

func (m *ACLSetResponse) XXX_DiscardUnknown()

func (*ACLSetResponse) XXX_Marshal

func (m *ACLSetResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ACLSetResponse) XXX_Merge

func (m *ACLSetResponse) XXX_Merge(src proto.Message)

func (*ACLSetResponse) XXX_Size

func (m *ACLSetResponse) XXX_Size() int

func (*ACLSetResponse) XXX_Unmarshal

func (m *ACLSetResponse) XXX_Unmarshal(b []byte) error

type ACLUsersRequest

type ACLUsersRequest struct {
	Key                  uint32   `protobuf:"varint,1,opt,name=key,proto3" json:"key,omitempty"`
	Users                []uint64 `protobuf:"varint,2,rep,packed,name=users,proto3" json:"users,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ACLUsersRequest) Descriptor

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

func (*ACLUsersRequest) GetKey

func (m *ACLUsersRequest) GetKey() uint32

func (*ACLUsersRequest) GetUsers

func (m *ACLUsersRequest) GetUsers() []uint64

func (*ACLUsersRequest) ProtoMessage

func (*ACLUsersRequest) ProtoMessage()

func (*ACLUsersRequest) Reset

func (m *ACLUsersRequest) Reset()

func (*ACLUsersRequest) String

func (m *ACLUsersRequest) String() string

func (*ACLUsersRequest) XXX_DiscardUnknown

func (m *ACLUsersRequest) XXX_DiscardUnknown()

func (*ACLUsersRequest) XXX_Marshal

func (m *ACLUsersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ACLUsersRequest) XXX_Merge

func (m *ACLUsersRequest) XXX_Merge(src proto.Message)

func (*ACLUsersRequest) XXX_Size

func (m *ACLUsersRequest) XXX_Size() int

func (*ACLUsersRequest) XXX_Unmarshal

func (m *ACLUsersRequest) XXX_Unmarshal(b []byte) error

type ACLUsersResponse

type ACLUsersResponse struct {
	Updated              uint64   `protobuf:"varint,1,opt,name=updated,proto3" json:"updated,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ACLUsersResponse) Descriptor

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

func (*ACLUsersResponse) GetUpdated

func (m *ACLUsersResponse) GetUpdated() uint64

func (*ACLUsersResponse) ProtoMessage

func (*ACLUsersResponse) ProtoMessage()

func (*ACLUsersResponse) Reset

func (m *ACLUsersResponse) Reset()

func (*ACLUsersResponse) String

func (m *ACLUsersResponse) String() string

func (*ACLUsersResponse) XXX_DiscardUnknown

func (m *ACLUsersResponse) XXX_DiscardUnknown()

func (*ACLUsersResponse) XXX_Marshal

func (m *ACLUsersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ACLUsersResponse) XXX_Merge

func (m *ACLUsersResponse) XXX_Merge(src proto.Message)

func (*ACLUsersResponse) XXX_Size

func (m *ACLUsersResponse) XXX_Size() int

func (*ACLUsersResponse) XXX_Unmarshal

func (m *ACLUsersResponse) XXX_Unmarshal(b []byte) error

type AclClient

AclClient is the client API for Acl service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewAclClient

func NewAclClient(cc grpc.ClientConnInterface) AclClient

type AclRef

type AclRef struct {
	Acl                  uint64   `protobuf:"varint,1,opt,name=acl,proto3" json:"acl,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*AclRef) Descriptor

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

func (*AclRef) GetAcl

func (m *AclRef) GetAcl() uint64

func (*AclRef) ProtoMessage

func (*AclRef) ProtoMessage()

func (*AclRef) Reset

func (m *AclRef) Reset()

func (*AclRef) String

func (m *AclRef) String() string

func (*AclRef) XXX_DiscardUnknown

func (m *AclRef) XXX_DiscardUnknown()

func (*AclRef) XXX_Marshal

func (m *AclRef) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AclRef) XXX_Merge

func (m *AclRef) XXX_Merge(src proto.Message)

func (*AclRef) XXX_Size

func (m *AclRef) XXX_Size() int

func (*AclRef) XXX_Unmarshal

func (m *AclRef) XXX_Unmarshal(b []byte) error

type Acl_ListClient

type Acl_ListClient interface {
	Recv() (*ACLListResponse, error)
	grpc.ClientStream
}

type Acl_ListServer

type Acl_ListServer interface {
	Send(*ACLListResponse) error
	grpc.ServerStream
}

type AuthOption

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

AuthOption set some optional config on the authenticator

func WithExpiresDuration

func WithExpiresDuration(d time.Duration) AuthOption

WithExpiresDuration sets expiration duration

type BCDBClient

type BCDBClient interface {
	// Set stores a document and return a header
	Set(ctx context.Context, in *SetRequest, opts ...grpc.CallOption) (*SetResponse, error)
	// Get a document from header
	Get(ctx context.Context, in *GetRequest, opts ...grpc.CallOption) (*GetResponse, error)
	// Modify updates a document meta
	Update(ctx context.Context, in *UpdateRequest, opts ...grpc.CallOption) (*UpdateResponse, error)
	// List returns a list of document IDs that matches a query
	List(ctx context.Context, in *QueryRequest, opts ...grpc.CallOption) (BCDB_ListClient, error)
	// Find like list but return full documents
	Find(ctx context.Context, in *QueryRequest, opts ...grpc.CallOption) (BCDB_FindClient, error)
	Delete(ctx context.Context, in *DeleteRequest, opts ...grpc.CallOption) (*DeleteResponse, error)
}

BCDBClient is the client API for BCDB service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewBCDBClient

func NewBCDBClient(cc grpc.ClientConnInterface) BCDBClient

type BCDBServer

type BCDBServer interface {
	// Set stores a document and return a header
	Set(context.Context, *SetRequest) (*SetResponse, error)
	// Get a document from header
	Get(context.Context, *GetRequest) (*GetResponse, error)
	// Modify updates a document meta
	Update(context.Context, *UpdateRequest) (*UpdateResponse, error)
	// List returns a list of document IDs that matches a query
	List(*QueryRequest, BCDB_ListServer) error
	// Find like list but return full documents
	Find(*QueryRequest, BCDB_FindServer) error
	Delete(context.Context, *DeleteRequest) (*DeleteResponse, error)
}

BCDBServer is the server API for BCDB service.

type BCDB_FindClient

type BCDB_FindClient interface {
	Recv() (*FindResponse, error)
	grpc.ClientStream
}

type BCDB_FindServer

type BCDB_FindServer interface {
	Send(*FindResponse) error
	grpc.ServerStream
}

type BCDB_ListClient

type BCDB_ListClient interface {
	Recv() (*ListResponse, error)
	grpc.ClientStream
}

type BCDB_ListServer

type BCDB_ListServer interface {
	Send(*ListResponse) error
	grpc.ServerStream
}

type DeleteRequest

type DeleteRequest struct {
	Id                   uint32   `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Collection           string   `protobuf:"bytes,2,opt,name=collection,proto3" json:"collection,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DeleteRequest) Descriptor

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

func (*DeleteRequest) GetCollection

func (m *DeleteRequest) GetCollection() string

func (*DeleteRequest) GetId

func (m *DeleteRequest) GetId() uint32

func (*DeleteRequest) ProtoMessage

func (*DeleteRequest) ProtoMessage()

func (*DeleteRequest) Reset

func (m *DeleteRequest) Reset()

func (*DeleteRequest) String

func (m *DeleteRequest) String() string

func (*DeleteRequest) XXX_DiscardUnknown

func (m *DeleteRequest) XXX_DiscardUnknown()

func (*DeleteRequest) XXX_Marshal

func (m *DeleteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeleteRequest) XXX_Merge

func (m *DeleteRequest) XXX_Merge(src proto.Message)

func (*DeleteRequest) XXX_Size

func (m *DeleteRequest) XXX_Size() int

func (*DeleteRequest) XXX_Unmarshal

func (m *DeleteRequest) XXX_Unmarshal(b []byte) error

type DeleteResponse

type DeleteResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DeleteResponse) Descriptor

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

func (*DeleteResponse) ProtoMessage

func (*DeleteResponse) ProtoMessage()

func (*DeleteResponse) Reset

func (m *DeleteResponse) Reset()

func (*DeleteResponse) String

func (m *DeleteResponse) String() string

func (*DeleteResponse) XXX_DiscardUnknown

func (m *DeleteResponse) XXX_DiscardUnknown()

func (*DeleteResponse) XXX_Marshal

func (m *DeleteResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeleteResponse) XXX_Merge

func (m *DeleteResponse) XXX_Merge(src proto.Message)

func (*DeleteResponse) XXX_Size

func (m *DeleteResponse) XXX_Size() int

func (*DeleteResponse) XXX_Unmarshal

func (m *DeleteResponse) XXX_Unmarshal(b []byte) error

type FindResponse

type FindResponse struct {
	Id                   uint32    `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Metadata             *Metadata `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

Find response

func (*FindResponse) Descriptor

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

func (*FindResponse) GetId

func (m *FindResponse) GetId() uint32

func (*FindResponse) GetMetadata

func (m *FindResponse) GetMetadata() *Metadata

func (*FindResponse) ProtoMessage

func (*FindResponse) ProtoMessage()

func (*FindResponse) Reset

func (m *FindResponse) Reset()

func (*FindResponse) String

func (m *FindResponse) String() string

func (*FindResponse) XXX_DiscardUnknown

func (m *FindResponse) XXX_DiscardUnknown()

func (*FindResponse) XXX_Marshal

func (m *FindResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FindResponse) XXX_Merge

func (m *FindResponse) XXX_Merge(src proto.Message)

func (*FindResponse) XXX_Size

func (m *FindResponse) XXX_Size() int

func (*FindResponse) XXX_Unmarshal

func (m *FindResponse) XXX_Unmarshal(b []byte) error

type GetRequest

type GetRequest struct {
	Id                   uint32   `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Collection           string   `protobuf:"bytes,2,opt,name=collection,proto3" json:"collection,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Get request

func (*GetRequest) Descriptor

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

func (*GetRequest) GetCollection

func (m *GetRequest) GetCollection() string

func (*GetRequest) GetId

func (m *GetRequest) GetId() uint32

func (*GetRequest) ProtoMessage

func (*GetRequest) ProtoMessage()

func (*GetRequest) Reset

func (m *GetRequest) Reset()

func (*GetRequest) String

func (m *GetRequest) String() string

func (*GetRequest) XXX_DiscardUnknown

func (m *GetRequest) XXX_DiscardUnknown()

func (*GetRequest) XXX_Marshal

func (m *GetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetRequest) XXX_Merge

func (m *GetRequest) XXX_Merge(src proto.Message)

func (*GetRequest) XXX_Size

func (m *GetRequest) XXX_Size() int

func (*GetRequest) XXX_Unmarshal

func (m *GetRequest) XXX_Unmarshal(b []byte) error

type GetResponse

type GetResponse struct {
	Metadata             *Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"`
	Data                 []byte    `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

Get response

func (*GetResponse) Descriptor

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

func (*GetResponse) GetData

func (m *GetResponse) GetData() []byte

func (*GetResponse) GetMetadata

func (m *GetResponse) GetMetadata() *Metadata

func (*GetResponse) ProtoMessage

func (*GetResponse) ProtoMessage()

func (*GetResponse) Reset

func (m *GetResponse) Reset()

func (*GetResponse) String

func (m *GetResponse) String() string

func (*GetResponse) XXX_DiscardUnknown

func (m *GetResponse) XXX_DiscardUnknown()

func (*GetResponse) XXX_Marshal

func (m *GetResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetResponse) XXX_Merge

func (m *GetResponse) XXX_Merge(src proto.Message)

func (*GetResponse) XXX_Size

func (m *GetResponse) XXX_Size() int

func (*GetResponse) XXX_Unmarshal

func (m *GetResponse) XXX_Unmarshal(b []byte) error

type IdentityClient

type IdentityClient interface {
	Info(ctx context.Context, in *InfoRequest, opts ...grpc.CallOption) (*InfoResponse, error)
	Sign(ctx context.Context, in *SignRequest, opts ...grpc.CallOption) (*SignResponse, error)
}

IdentityClient is the client API for Identity service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewIdentityClient

func NewIdentityClient(cc grpc.ClientConnInterface) IdentityClient

type IdentityInfo

type IdentityInfo struct {
	// id is 3bot id for this server
	Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// key is the public key of this server
	Key                  string   `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*IdentityInfo) Descriptor

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

func (*IdentityInfo) GetId

func (m *IdentityInfo) GetId() uint32

func (*IdentityInfo) GetKey

func (m *IdentityInfo) GetKey() string

func (*IdentityInfo) ProtoMessage

func (*IdentityInfo) ProtoMessage()

func (*IdentityInfo) Reset

func (m *IdentityInfo) Reset()

func (*IdentityInfo) String

func (m *IdentityInfo) String() string

func (*IdentityInfo) XXX_DiscardUnknown

func (m *IdentityInfo) XXX_DiscardUnknown()

func (*IdentityInfo) XXX_Marshal

func (m *IdentityInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*IdentityInfo) XXX_Merge

func (m *IdentityInfo) XXX_Merge(src proto.Message)

func (*IdentityInfo) XXX_Size

func (m *IdentityInfo) XXX_Size() int

func (*IdentityInfo) XXX_Unmarshal

func (m *IdentityInfo) XXX_Unmarshal(b []byte) error

type IdentityServer

type IdentityServer interface {
	Info(context.Context, *InfoRequest) (*InfoResponse, error)
	Sign(context.Context, *SignRequest) (*SignResponse, error)
}

IdentityServer is the server API for Identity service.

type InfoRequest

type InfoRequest struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*InfoRequest) Descriptor

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

func (*InfoRequest) ProtoMessage

func (*InfoRequest) ProtoMessage()

func (*InfoRequest) Reset

func (m *InfoRequest) Reset()

func (*InfoRequest) String

func (m *InfoRequest) String() string

func (*InfoRequest) XXX_DiscardUnknown

func (m *InfoRequest) XXX_DiscardUnknown()

func (*InfoRequest) XXX_Marshal

func (m *InfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*InfoRequest) XXX_Merge

func (m *InfoRequest) XXX_Merge(src proto.Message)

func (*InfoRequest) XXX_Size

func (m *InfoRequest) XXX_Size() int

func (*InfoRequest) XXX_Unmarshal

func (m *InfoRequest) XXX_Unmarshal(b []byte) error

type InfoResponse

type InfoResponse struct {
	Identity             *IdentityInfo `protobuf:"bytes,1,opt,name=identity,proto3" json:"identity,omitempty"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

func (*InfoResponse) Descriptor

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

func (*InfoResponse) GetIdentity

func (m *InfoResponse) GetIdentity() *IdentityInfo

func (*InfoResponse) ProtoMessage

func (*InfoResponse) ProtoMessage()

func (*InfoResponse) Reset

func (m *InfoResponse) Reset()

func (*InfoResponse) String

func (m *InfoResponse) String() string

func (*InfoResponse) XXX_DiscardUnknown

func (m *InfoResponse) XXX_DiscardUnknown()

func (*InfoResponse) XXX_Marshal

func (m *InfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*InfoResponse) XXX_Merge

func (m *InfoResponse) XXX_Merge(src proto.Message)

func (*InfoResponse) XXX_Size

func (m *InfoResponse) XXX_Size() int

func (*InfoResponse) XXX_Unmarshal

func (m *InfoResponse) XXX_Unmarshal(b []byte) error

type ListResponse

type ListResponse struct {
	Id                   uint32   `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

List response

func (*ListResponse) Descriptor

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

func (*ListResponse) GetId

func (m *ListResponse) GetId() uint32

func (*ListResponse) ProtoMessage

func (*ListResponse) ProtoMessage()

func (*ListResponse) Reset

func (m *ListResponse) Reset()

func (*ListResponse) String

func (m *ListResponse) String() string

func (*ListResponse) XXX_DiscardUnknown

func (m *ListResponse) XXX_DiscardUnknown()

func (*ListResponse) XXX_Marshal

func (m *ListResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListResponse) XXX_Merge

func (m *ListResponse) XXX_Merge(src proto.Message)

func (*ListResponse) XXX_Size

func (m *ListResponse) XXX_Size() int

func (*ListResponse) XXX_Unmarshal

func (m *ListResponse) XXX_Unmarshal(b []byte) error

type Metadata

type Metadata struct {
	// set of searchable tags.
	Tags []*Tag `protobuf:"bytes,1,rep,name=tags,proto3" json:"tags,omitempty"`
	// required collection
	Collection string `protobuf:"bytes,2,opt,name=collection,proto3" json:"collection,omitempty"`
	// acl is a ref to the acl key (optional)
	Acl                  *AclRef  `protobuf:"bytes,3,opt,name=acl,proto3" json:"acl,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Metadata represents a set of tags (also known as Metadata)

func (*Metadata) Descriptor

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

func (*Metadata) GetAcl

func (m *Metadata) GetAcl() *AclRef

func (*Metadata) GetCollection

func (m *Metadata) GetCollection() string

func (*Metadata) GetTags

func (m *Metadata) GetTags() []*Tag

func (*Metadata) ProtoMessage

func (*Metadata) ProtoMessage()

func (*Metadata) Reset

func (m *Metadata) Reset()

func (*Metadata) String

func (m *Metadata) String() string

func (*Metadata) XXX_DiscardUnknown

func (m *Metadata) XXX_DiscardUnknown()

func (*Metadata) XXX_Marshal

func (m *Metadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Metadata) XXX_Merge

func (m *Metadata) XXX_Merge(src proto.Message)

func (*Metadata) XXX_Size

func (m *Metadata) XXX_Size() int

func (*Metadata) XXX_Unmarshal

func (m *Metadata) XXX_Unmarshal(b []byte) error

type QueryRequest

type QueryRequest struct {
	Collection           string   `protobuf:"bytes,1,opt,name=collection,proto3" json:"collection,omitempty"`
	Tags                 []*Tag   `protobuf:"bytes,2,rep,name=tags,proto3" json:"tags,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Query request for finding entries

func (*QueryRequest) Descriptor

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

func (*QueryRequest) GetCollection

func (m *QueryRequest) GetCollection() string

func (*QueryRequest) GetTags

func (m *QueryRequest) GetTags() []*Tag

func (*QueryRequest) ProtoMessage

func (*QueryRequest) ProtoMessage()

func (*QueryRequest) Reset

func (m *QueryRequest) Reset()

func (*QueryRequest) String

func (m *QueryRequest) String() string

func (*QueryRequest) XXX_DiscardUnknown

func (m *QueryRequest) XXX_DiscardUnknown()

func (*QueryRequest) XXX_Marshal

func (m *QueryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryRequest) XXX_Merge

func (m *QueryRequest) XXX_Merge(src proto.Message)

func (*QueryRequest) XXX_Size

func (m *QueryRequest) XXX_Size() int

func (*QueryRequest) XXX_Unmarshal

func (m *QueryRequest) XXX_Unmarshal(b []byte) error

type SetRequest

type SetRequest struct {
	Metadata             *Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"`
	Data                 []byte    `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

Set request

func (*SetRequest) Descriptor

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

func (*SetRequest) GetData

func (m *SetRequest) GetData() []byte

func (*SetRequest) GetMetadata

func (m *SetRequest) GetMetadata() *Metadata

func (*SetRequest) ProtoMessage

func (*SetRequest) ProtoMessage()

func (*SetRequest) Reset

func (m *SetRequest) Reset()

func (*SetRequest) String

func (m *SetRequest) String() string

func (*SetRequest) XXX_DiscardUnknown

func (m *SetRequest) XXX_DiscardUnknown()

func (*SetRequest) XXX_Marshal

func (m *SetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SetRequest) XXX_Merge

func (m *SetRequest) XXX_Merge(src proto.Message)

func (*SetRequest) XXX_Size

func (m *SetRequest) XXX_Size() int

func (*SetRequest) XXX_Unmarshal

func (m *SetRequest) XXX_Unmarshal(b []byte) error

type SetResponse

type SetResponse struct {
	Id                   uint32   `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Set response

func (*SetResponse) Descriptor

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

func (*SetResponse) GetId

func (m *SetResponse) GetId() uint32

func (*SetResponse) ProtoMessage

func (*SetResponse) ProtoMessage()

func (*SetResponse) Reset

func (m *SetResponse) Reset()

func (*SetResponse) String

func (m *SetResponse) String() string

func (*SetResponse) XXX_DiscardUnknown

func (m *SetResponse) XXX_DiscardUnknown()

func (*SetResponse) XXX_Marshal

func (m *SetResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SetResponse) XXX_Merge

func (m *SetResponse) XXX_Merge(src proto.Message)

func (*SetResponse) XXX_Size

func (m *SetResponse) XXX_Size() int

func (*SetResponse) XXX_Unmarshal

func (m *SetResponse) XXX_Unmarshal(b []byte) error

type SignRequest

type SignRequest struct {
	Message              []byte   `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*SignRequest) Descriptor

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

func (*SignRequest) GetMessage

func (m *SignRequest) GetMessage() []byte

func (*SignRequest) ProtoMessage

func (*SignRequest) ProtoMessage()

func (*SignRequest) Reset

func (m *SignRequest) Reset()

func (*SignRequest) String

func (m *SignRequest) String() string

func (*SignRequest) XXX_DiscardUnknown

func (m *SignRequest) XXX_DiscardUnknown()

func (*SignRequest) XXX_Marshal

func (m *SignRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SignRequest) XXX_Merge

func (m *SignRequest) XXX_Merge(src proto.Message)

func (*SignRequest) XXX_Size

func (m *SignRequest) XXX_Size() int

func (*SignRequest) XXX_Unmarshal

func (m *SignRequest) XXX_Unmarshal(b []byte) error

type SignResponse

type SignResponse struct {
	Identity             *IdentityInfo `protobuf:"bytes,1,opt,name=identity,proto3" json:"identity,omitempty"`
	Signature            []byte        `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

func (*SignResponse) Descriptor

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

func (*SignResponse) GetIdentity

func (m *SignResponse) GetIdentity() *IdentityInfo

func (*SignResponse) GetSignature

func (m *SignResponse) GetSignature() []byte

func (*SignResponse) ProtoMessage

func (*SignResponse) ProtoMessage()

func (*SignResponse) Reset

func (m *SignResponse) Reset()

func (*SignResponse) String

func (m *SignResponse) String() string

func (*SignResponse) XXX_DiscardUnknown

func (m *SignResponse) XXX_DiscardUnknown()

func (*SignResponse) XXX_Marshal

func (m *SignResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SignResponse) XXX_Merge

func (m *SignResponse) XXX_Merge(src proto.Message)

func (*SignResponse) XXX_Size

func (m *SignResponse) XXX_Size() int

func (*SignResponse) XXX_Unmarshal

func (m *SignResponse) XXX_Unmarshal(b []byte) error

type Tag

type Tag struct {
	// key of the tag
	Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	// value of the tag. Only supporting few primitive types
	Value                string   `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Tag is a single entry in an object. The tag key must be a string, but the value can be either a string, double signed, or unsigned number Tags are always indexed, and can be used to find the associated meta objects later on.

func (*Tag) Descriptor

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

func (*Tag) GetKey

func (m *Tag) GetKey() string

func (*Tag) GetValue

func (m *Tag) GetValue() string

func (*Tag) ProtoMessage

func (*Tag) ProtoMessage()

func (*Tag) Reset

func (m *Tag) Reset()

func (*Tag) String

func (m *Tag) String() string

func (*Tag) XXX_DiscardUnknown

func (m *Tag) XXX_DiscardUnknown()

func (*Tag) XXX_Marshal

func (m *Tag) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Tag) XXX_Merge

func (m *Tag) XXX_Merge(src proto.Message)

func (*Tag) XXX_Size

func (m *Tag) XXX_Size() int

func (*Tag) XXX_Unmarshal

func (m *Tag) XXX_Unmarshal(b []byte) error

type UnimplementedAclServer

type UnimplementedAclServer struct {
}

UnimplementedAclServer can be embedded to have forward compatible implementations.

func (*UnimplementedAclServer) Create

func (*UnimplementedAclServer) Get

func (*UnimplementedAclServer) Grant

func (*UnimplementedAclServer) List

func (*UnimplementedAclServer) Revoke

func (*UnimplementedAclServer) Set

type UnimplementedBCDBServer

type UnimplementedBCDBServer struct {
}

UnimplementedBCDBServer can be embedded to have forward compatible implementations.

func (*UnimplementedBCDBServer) Delete

func (*UnimplementedBCDBServer) Find

func (*UnimplementedBCDBServer) Get

func (*UnimplementedBCDBServer) List

func (*UnimplementedBCDBServer) Set

func (*UnimplementedBCDBServer) Update

type UnimplementedIdentityServer

type UnimplementedIdentityServer struct {
}

UnimplementedIdentityServer can be embedded to have forward compatible implementations.

func (*UnimplementedIdentityServer) Info

func (*UnimplementedIdentityServer) Sign

type UpdateRequest

type UpdateRequest struct {
	Id                   uint32                    `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Metadata             *Metadata                 `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"`
	Data                 *UpdateRequest_UpdateData `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                  `json:"-"`
	XXX_unrecognized     []byte                    `json:"-"`
	XXX_sizecache        int32                     `json:"-"`
}

Update request

func (*UpdateRequest) Descriptor

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

func (*UpdateRequest) GetData

func (*UpdateRequest) GetId

func (m *UpdateRequest) GetId() uint32

func (*UpdateRequest) GetMetadata

func (m *UpdateRequest) GetMetadata() *Metadata

func (*UpdateRequest) ProtoMessage

func (*UpdateRequest) ProtoMessage()

func (*UpdateRequest) Reset

func (m *UpdateRequest) Reset()

func (*UpdateRequest) String

func (m *UpdateRequest) String() string

func (*UpdateRequest) XXX_DiscardUnknown

func (m *UpdateRequest) XXX_DiscardUnknown()

func (*UpdateRequest) XXX_Marshal

func (m *UpdateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UpdateRequest) XXX_Merge

func (m *UpdateRequest) XXX_Merge(src proto.Message)

func (*UpdateRequest) XXX_Size

func (m *UpdateRequest) XXX_Size() int

func (*UpdateRequest) XXX_Unmarshal

func (m *UpdateRequest) XXX_Unmarshal(b []byte) error

type UpdateRequest_UpdateData

type UpdateRequest_UpdateData struct {
	Data                 []byte   `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*UpdateRequest_UpdateData) Descriptor

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

func (*UpdateRequest_UpdateData) GetData

func (m *UpdateRequest_UpdateData) GetData() []byte

func (*UpdateRequest_UpdateData) ProtoMessage

func (*UpdateRequest_UpdateData) ProtoMessage()

func (*UpdateRequest_UpdateData) Reset

func (m *UpdateRequest_UpdateData) Reset()

func (*UpdateRequest_UpdateData) String

func (m *UpdateRequest_UpdateData) String() string

func (*UpdateRequest_UpdateData) XXX_DiscardUnknown

func (m *UpdateRequest_UpdateData) XXX_DiscardUnknown()

func (*UpdateRequest_UpdateData) XXX_Marshal

func (m *UpdateRequest_UpdateData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UpdateRequest_UpdateData) XXX_Merge

func (m *UpdateRequest_UpdateData) XXX_Merge(src proto.Message)

func (*UpdateRequest_UpdateData) XXX_Size

func (m *UpdateRequest_UpdateData) XXX_Size() int

func (*UpdateRequest_UpdateData) XXX_Unmarshal

func (m *UpdateRequest_UpdateData) XXX_Unmarshal(b []byte) error

type UpdateResponse

type UpdateResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Update response

func (*UpdateResponse) Descriptor

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

func (*UpdateResponse) ProtoMessage

func (*UpdateResponse) ProtoMessage()

func (*UpdateResponse) Reset

func (m *UpdateResponse) Reset()

func (*UpdateResponse) String

func (m *UpdateResponse) String() string

func (*UpdateResponse) XXX_DiscardUnknown

func (m *UpdateResponse) XXX_DiscardUnknown()

func (*UpdateResponse) XXX_Marshal

func (m *UpdateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UpdateResponse) XXX_Merge

func (m *UpdateResponse) XXX_Merge(src proto.Message)

func (*UpdateResponse) XXX_Size

func (m *UpdateResponse) XXX_Size() int

func (*UpdateResponse) XXX_Unmarshal

func (m *UpdateResponse) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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