foursquare_quiver_client

package
v0.0.0-...-7aea3de Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterQuiverServiceServer

func RegisterQuiverServiceServer(s *grpc.Server, srv QuiverServiceServer)

Types

type QuiverServiceClient

type QuiverServiceClient interface {
	GetValuesSingle(ctx context.Context, in *SingleHFileKeyRequest, opts ...grpc.CallOption) (*SingleHFileKeyResponse, error)
}

QuiverServiceClient is the client API for QuiverService service.

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

func NewQuiverServiceClient

func NewQuiverServiceClient(cc *grpc.ClientConn) QuiverServiceClient

type QuiverServiceServer

type QuiverServiceServer interface {
	GetValuesSingle(context.Context, *SingleHFileKeyRequest) (*SingleHFileKeyResponse, error)
}

QuiverServiceServer is the server API for QuiverService service.

type SingleHFileKeyRequest

type SingleHFileKeyRequest struct {
	HfileName string `protobuf:"bytes,1,opt,name=hfile_name,json=hfileName,proto3" json:"hfile_name,omitempty"`
	// Keys to look up.
	// Note: For efficiency, keys must be sorted by the client. If they are not, behavior is undefined.
	SortedKeys           [][]byte `protobuf:"bytes,2,rep,name=sorted_keys,json=sortedKeys,proto3" json:"sorted_keys,omitempty"`
	PerKeyValueLimit     int32    `protobuf:"varint,3,opt,name=per_key_value_limit,json=perKeyValueLimit,proto3" json:"per_key_value_limit,omitempty"`
	CountOnly            bool     `protobuf:"varint,4,opt,name=count_only,json=countOnly,proto3" json:"count_only,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*SingleHFileKeyRequest) Descriptor

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

func (*SingleHFileKeyRequest) GetCountOnly

func (m *SingleHFileKeyRequest) GetCountOnly() bool

func (*SingleHFileKeyRequest) GetHfileName

func (m *SingleHFileKeyRequest) GetHfileName() string

func (*SingleHFileKeyRequest) GetPerKeyValueLimit

func (m *SingleHFileKeyRequest) GetPerKeyValueLimit() int32

func (*SingleHFileKeyRequest) GetSortedKeys

func (m *SingleHFileKeyRequest) GetSortedKeys() [][]byte

func (*SingleHFileKeyRequest) ProtoMessage

func (*SingleHFileKeyRequest) ProtoMessage()

func (*SingleHFileKeyRequest) Reset

func (m *SingleHFileKeyRequest) Reset()

func (*SingleHFileKeyRequest) String

func (m *SingleHFileKeyRequest) String() string

func (*SingleHFileKeyRequest) XXX_DiscardUnknown

func (m *SingleHFileKeyRequest) XXX_DiscardUnknown()

func (*SingleHFileKeyRequest) XXX_Marshal

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

func (*SingleHFileKeyRequest) XXX_Merge

func (dst *SingleHFileKeyRequest) XXX_Merge(src proto.Message)

func (*SingleHFileKeyRequest) XXX_Size

func (m *SingleHFileKeyRequest) XXX_Size() int

func (*SingleHFileKeyRequest) XXX_Unmarshal

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

type SingleHFileKeyResponse

type SingleHFileKeyResponse struct {
	Values               map[int32][]byte `` /* 154-byte string literal not displayed */
	KeyCount             int32            `protobuf:"varint,2,opt,name=key_count,json=keyCount,proto3" json:"key_count,omitempty"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

func (*SingleHFileKeyResponse) Descriptor

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

func (*SingleHFileKeyResponse) GetKeyCount

func (m *SingleHFileKeyResponse) GetKeyCount() int32

func (*SingleHFileKeyResponse) GetValues

func (m *SingleHFileKeyResponse) GetValues() map[int32][]byte

func (*SingleHFileKeyResponse) ProtoMessage

func (*SingleHFileKeyResponse) ProtoMessage()

func (*SingleHFileKeyResponse) Reset

func (m *SingleHFileKeyResponse) Reset()

func (*SingleHFileKeyResponse) String

func (m *SingleHFileKeyResponse) String() string

func (*SingleHFileKeyResponse) XXX_DiscardUnknown

func (m *SingleHFileKeyResponse) XXX_DiscardUnknown()

func (*SingleHFileKeyResponse) XXX_Marshal

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

func (*SingleHFileKeyResponse) XXX_Merge

func (dst *SingleHFileKeyResponse) XXX_Merge(src proto.Message)

func (*SingleHFileKeyResponse) XXX_Size

func (m *SingleHFileKeyResponse) XXX_Size() int

func (*SingleHFileKeyResponse) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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