{"modulePath":"github.com/https-cert/deploy","version":"v0.7.4","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package deployPBconnect\n\n## Constants\n\n```go\nconst (\n\t// DeployServiceName is the fully-qualified name of the DeployService service.\n\tDeployServiceName = \"deployPB.DeployService\"\n)\n```\n\n```go\nconst (\n\t// DeployServiceNotifyProcedure is the fully-qualified name of the DeployService's Notify RPC.\n\tDeployServiceNotifyProcedure = \"/deployPB.DeployService/Notify\"\n)\n```\nThese 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.\n\nNote 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.\n\n## Functions\n\n```go\nfunc NewDeployServiceHandler(svc DeployServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)\n```\nNewDeployServiceHandler builds an HTTP handler from the service implementation. It returns the path on which to mount the handler and the handler itself.\n\nBy default, handlers support the Connect, gRPC, and gRPC-Web protocols with the binary Protobuf and JSON codecs. They also support gzip compression.\n\n## Types\n\n```go\ntype DeployServiceClient interface {\n\t// 通知\n\tNotify(context.Context) *connect.BidiStreamForClient[deployPB.NotifyRequest, deployPB.NotifyResponse]\n}\n```\nDeployServiceClient is a client for the deployPB.DeployService service.\n\n```go\nfunc NewDeployServiceClient(httpClient connect.HTTPClient, baseURL string, opts ...connect.ClientOption) DeployServiceClient\n```\nNewDeployServiceClient constructs a client for the deployPB.DeployService 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.\n\nThe URL supplied here should be the base URL for the Connect or gRPC server (for example, [http://api.acme.com](http://api.acme.com) or [https://acme.com/grpc](https://acme.com/grpc)).\n\n```go\ntype DeployServiceHandler interface {\n\t// 通知\n\tNotify(context.Context, *connect.BidiStream[deployPB.NotifyRequest, deployPB.NotifyResponse]) error\n}\n```\nDeployServiceHandler is an implementation of the deployPB.DeployService service.\n\n```go\ntype UnimplementedDeployServiceHandler struct{}\n```\nUnimplementedDeployServiceHandler returns CodeUnimplemented from all methods.\n\n```go\nfunc (UnimplementedDeployServiceHandler) Notify(context.Context, *connect.BidiStream[deployPB.NotifyRequest, deployPB.NotifyResponse]) error\n```\n\n","path":"github.com/https-cert/deploy/pb/deployPB/deployPBconnect","name":"deployPBconnect","synopsis":"","isRedistributable":true}
