nungwiv1alphaconnect

package
v0.0.0-...-aed1f37 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// NungwiServiceWriteSchemaProcedure is the fully-qualified name of the NungwiService's WriteSchema
	// RPC.
	NungwiServiceWriteSchemaProcedure = "/nungwi.v1alpha.NungwiService/WriteSchema"
	// NungwiServiceGetSchemaProcedure is the fully-qualified name of the NungwiService's GetSchema RPC.
	NungwiServiceGetSchemaProcedure = "/nungwi.v1alpha.NungwiService/GetSchema"
	// NungwiServiceDeleteSchemaProcedure is the fully-qualified name of the NungwiService's
	// DeleteSchema RPC.
	NungwiServiceDeleteSchemaProcedure = "/nungwi.v1alpha.NungwiService/DeleteSchema"
	// NungwiServiceWriteTuplesProcedure is the fully-qualified name of the NungwiService's WriteTuples
	// RPC.
	NungwiServiceWriteTuplesProcedure = "/nungwi.v1alpha.NungwiService/WriteTuples"
	// NungwiServiceGetTuplesProcedure is the fully-qualified name of the NungwiService's GetTuples RPC.
	NungwiServiceGetTuplesProcedure = "/nungwi.v1alpha.NungwiService/GetTuples"
	// NungwiServiceDeleteTuplesProcedure is the fully-qualified name of the NungwiService's
	// DeleteTuples RPC.
	NungwiServiceDeleteTuplesProcedure = "/nungwi.v1alpha.NungwiService/DeleteTuples"
	// NungwiServiceCheckProcedure is the fully-qualified name of the NungwiService's Check RPC.
	NungwiServiceCheckProcedure = "/nungwi.v1alpha.NungwiService/Check"
	// NungwiServiceListObjectsProcedure is the fully-qualified name of the NungwiService's ListObjects
	// RPC.
	NungwiServiceListObjectsProcedure = "/nungwi.v1alpha.NungwiService/ListObjects"
)

These constants are the fully-qualified names of the RPCs defined in this package. They're exposed at runtime as Spec.Procedure and as the final two segments of the HTTP route.

Note that these are different from the fully-qualified method names used by google.golang.org/protobuf/reflect/protoreflect. To convert from these constants to reflection-formatted method names, remove the leading slash and convert the remaining slash to a period.

View Source
const (
	// NungwiServiceName is the fully-qualified name of the NungwiService service.
	NungwiServiceName = "nungwi.v1alpha.NungwiService"
)

Variables

This section is empty.

Functions

func NewNungwiServiceHandler

func NewNungwiServiceHandler(svc NungwiServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)

NewNungwiServiceHandler builds an HTTP handler from the service implementation. It returns the path on which to mount the handler and the handler itself.

By default, handlers support the Connect, gRPC, and gRPC-Web protocols with the binary Protobuf and JSON codecs. They also support gzip compression.

Types

type NungwiServiceClient

NungwiServiceClient is a client for the nungwi.v1alpha.NungwiService service.

func NewNungwiServiceClient

func NewNungwiServiceClient(httpClient connect.HTTPClient, baseURL string, opts ...connect.ClientOption) NungwiServiceClient

NewNungwiServiceClient constructs a client for the nungwi.v1alpha.NungwiService service. By default, it uses the Connect protocol with the binary Protobuf Codec, asks for gzipped responses, and sends uncompressed requests. To use the gRPC or gRPC-Web protocols, supply the connect.WithGRPC() or connect.WithGRPCWeb() options.

The URL supplied here should be the base URL for the Connect or gRPC server (for example, http://api.acme.com or https://acme.com/grpc).

type UnimplementedNungwiServiceHandler

type UnimplementedNungwiServiceHandler struct{}

UnimplementedNungwiServiceHandler returns CodeUnimplemented from all methods.

Jump to

Keyboard shortcuts

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