Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterIndexServer

func RegisterIndexServer(s *grpc.Server, srv IndexServer)

Types

type IndexClient

type IndexClient interface {
	IndexInfo(ctx context.Context, in *payload.Empty, opts ...grpc.CallOption) (*payload.Info_Index_Count, error)
}

IndexClient is the client API for Index service.

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

func NewIndexClient

func NewIndexClient(cc *grpc.ClientConn) IndexClient

type IndexServer

type IndexServer interface {
	IndexInfo(context.Context, *payload.Empty) (*payload.Info_Index_Count, error)
}

IndexServer is the server API for Index service.

type UnimplementedIndexServer

type UnimplementedIndexServer struct {
}

UnimplementedIndexServer can be embedded to have forward compatible implementations.

func (*UnimplementedIndexServer) IndexInfo