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 RegisterToolServer

func RegisterToolServer(s *grpc.Server, srv ToolServer)

Types

type ToolClient

type ToolClient interface {
	CreateTileSet(ctx context.Context, in *dto.CreateSet, opts ...grpc.CallOption) (*types.Empty, error)
}

ToolClient is the client API for Tool service.

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

func NewToolClient

func NewToolClient(cc *grpc.ClientConn) ToolClient

type ToolServer

type ToolServer interface {
	CreateTileSet(context.Context, *dto.CreateSet) (*types.Empty, error)
}

ToolServer is the server API for Tool service.

type UnimplementedToolServer

type UnimplementedToolServer struct {
}

UnimplementedToolServer can be embedded to have forward compatible implementations.

func (*UnimplementedToolServer) CreateTileSet

func (*UnimplementedToolServer) CreateTileSet(ctx context.Context, req *dto.CreateSet) (*types.Empty, error)

Jump to

Keyboard shortcuts

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