index

package
v0.0.36 Latest Latest
Warning

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

Go to latest
Published: May 15, 2020 License: Apache-2.0 Imports: 10 Imported by: 0

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 added in v0.0.5

Jump to

Keyboard shortcuts

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