grpc

package
v0.0.0-...-37f97d0 Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterMapperServer

func RegisterMapperServer(s *grpc.Server, srv MapperServer)

Types

type MapperClient

type MapperClient interface {
	ListSectors(ctx context.Context, in *dto.ListSector, opts ...grpc.CallOption) (Mapper_ListSectorsClient, error)
	ListTileSets(ctx context.Context, in *dto.ListSet, opts ...grpc.CallOption) (Mapper_ListTileSetsClient, error)
}

MapperClient is the client API for Mapper service.

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

func NewMapperClient

func NewMapperClient(cc *grpc.ClientConn) MapperClient

type MapperServer

type MapperServer interface {
	ListSectors(*dto.ListSector, Mapper_ListSectorsServer) error
	ListTileSets(*dto.ListSet, Mapper_ListTileSetsServer) error
}

MapperServer is the server API for Mapper service.

type Mapper_ListSectorsClient

type Mapper_ListSectorsClient interface {
	Recv() (*space.Sector, error)
	grpc.ClientStream
}

type Mapper_ListSectorsServer

type Mapper_ListSectorsServer interface {
	Send(*space.Sector) error
	grpc.ServerStream
}

type Mapper_ListTileSetsClient

type Mapper_ListTileSetsClient interface {
	Recv() (*space.TileSet, error)
	grpc.ClientStream
}

type Mapper_ListTileSetsServer

type Mapper_ListTileSetsServer interface {
	Send(*space.TileSet) error
	grpc.ServerStream
}

type UnimplementedMapperServer

type UnimplementedMapperServer struct {
}

UnimplementedMapperServer can be embedded to have forward compatible implementations.

func (*UnimplementedMapperServer) ListSectors

func (*UnimplementedMapperServer) ListTileSets

Jump to

Keyboard shortcuts

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