Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var File_wkt_proto protoreflect.FileDescriptor
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.
Click to show internal directories.
Click to hide internal directories.