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) ListSectors(req *dto.ListSector, srv Mapper_ListSectorsServer) error
func (*UnimplementedMapperServer) ListTileSets ¶
func (*UnimplementedMapperServer) ListTileSets(req *dto.ListSet, srv Mapper_ListTileSetsServer) error
Click to show internal directories.
Click to hide internal directories.