Versions in this module Expand all Collapse all v1 v1.0.1 Mar 15, 2017 Changes in this version type GetIdentityReply + Behavior uint32 v1.0.0 Feb 22, 2017 Changes in this version + var ObjectType_name = map[int32]string + var ObjectType_value = map[string]int32 + func RegisterBmdServer(s *grpc.Server, srv BmdServer) + type BasicAuthCredentials string + func NewBasicAuthCredentials(username, password string) BasicAuthCredentials + func (cred BasicAuthCredentials) GetRequestMetadata(ctx context.Context, uri ...string) (map[string]string, error) + func (cred BasicAuthCredentials) RequireTransportSecurity() bool + type BmdClient interface + GetIdentity func(ctx context.Context, in *GetIdentityRequest, opts ...grpc.CallOption) (*GetIdentityReply, error) + GetObjects func(ctx context.Context, in *GetObjectsRequest, opts ...grpc.CallOption) (Bmd_GetObjectsClient, error) + SendObject func(ctx context.Context, in *Object, opts ...grpc.CallOption) (*SendObjectReply, error) + func NewBmdClient(cc *grpc.ClientConn) BmdClient + type BmdServer interface + GetIdentity func(context.Context, *GetIdentityRequest) (*GetIdentityReply, error) + GetObjects func(*GetObjectsRequest, Bmd_GetObjectsServer) error + SendObject func(context.Context, *Object) (*SendObjectReply, error) + type Bmd_GetObjectsClient interface + Recv func() (*Object, error) + type Bmd_GetObjectsServer interface + Send func(*Object) error + type GetIdentityReply struct + EncryptionKey []byte + ExtraBytes uint64 + NonceTrials uint64 + SigningKey []byte + func (*GetIdentityReply) Descriptor() ([]byte, []int) + func (*GetIdentityReply) ProtoMessage() + func (m *GetIdentityReply) Reset() + func (m *GetIdentityReply) String() string + type GetIdentityRequest struct + Address string + func (*GetIdentityRequest) Descriptor() ([]byte, []int) + func (*GetIdentityRequest) ProtoMessage() + func (m *GetIdentityRequest) Reset() + func (m *GetIdentityRequest) String() string + type GetObjectsRequest struct + FromCounter uint64 + ObjectType ObjectType + func (*GetObjectsRequest) Descriptor() ([]byte, []int) + func (*GetObjectsRequest) ProtoMessage() + func (m *GetObjectsRequest) Reset() + func (m *GetObjectsRequest) String() string + type Object struct + Contents []byte + Counter uint64 + func (*Object) Descriptor() ([]byte, []int) + func (*Object) ProtoMessage() + func (m *Object) Reset() + func (m *Object) String() string + type ObjectType int32 + const ObjectType_BROADCAST + const ObjectType_GETPUBKEY + const ObjectType_MESSAGE + const ObjectType_PUBKEY + const ObjectType_UNKNOWN + func (ObjectType) EnumDescriptor() ([]byte, []int) + func (x ObjectType) String() string + type SendObjectReply struct + Counter uint64 + func (*SendObjectReply) Descriptor() ([]byte, []int) + func (*SendObjectReply) ProtoMessage() + func (m *SendObjectReply) Reset() + func (m *SendObjectReply) String() string