well_known_types

package
v0.0.0-...-2d242b4 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

func RegisterGripmockServer

func RegisterGripmockServer(s *grpc.Server, srv GripmockServer)

Types

type GripmockClient

type GripmockClient interface {
	// this shows us example on using WKT as dependency
	// api.proto in particular has go_package alias with semicolon
	// "google.golang.org/genproto/protobuf/api;api"
	ApiInfo(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*api.Api, error)
}

GripmockClient is the client API for Gripmock service.

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

func NewGripmockClient

func NewGripmockClient(cc grpc.ClientConnInterface) GripmockClient

type GripmockServer

type GripmockServer interface {
	// this shows us example on using WKT as dependency
	// api.proto in particular has go_package alias with semicolon
	// "google.golang.org/genproto/protobuf/api;api"
	ApiInfo(context.Context, *empty.Empty) (*api.Api, error)
}

GripmockServer is the server API for Gripmock service.

type UnimplementedGripmockServer

type UnimplementedGripmockServer struct {
}

UnimplementedGripmockServer can be embedded to have forward compatible implementations.

func (*UnimplementedGripmockServer) ApiInfo

Jump to

Keyboard shortcuts

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