Documentation ¶
Index ¶
- Constants
- func NewIntegrationsPublicHandler(svc IntegrationsPublicHandler, opts ...connect_go.HandlerOption) (string, http.Handler)
- type IntegrationsPublicClient
- type IntegrationsPublicHandler
- type UnimplementedIntegrationsPublicHandler
- func (UnimplementedIntegrationsPublicHandler) GetInvoice(context.Context, *connect_go.Request[integrationspublic.GetInvoiceReq]) (*connect_go.Response[integrationspublic.GetInvoiceRes], error)
- func (UnimplementedIntegrationsPublicHandler) GetLinkData(context.Context, *connect_go.Request[integrationspublic.GetLinkDataReq]) (*connect_go.Response[integrationspublic.GetLinkDataRes], error)
- func (UnimplementedIntegrationsPublicHandler) GetReceipt(context.Context, *connect_go.Request[integrationspublic.GetReceiptReq]) (*connect_go.Response[integrationspublic.GetReceiptRes], error)
- func (UnimplementedIntegrationsPublicHandler) ProcessWorkflow(context.Context, *connect_go.Request[integrationspublic.ProcessWorkflowReq]) (*connect_go.Response[integrationspublic.ProcessWorkflowRes], error)
- func (UnimplementedIntegrationsPublicHandler) SessionKeepAlive(context.Context, *connect_go.Request[integrationspublic.SessionKeepAliveReq]) (*connect_go.Response[integrationspublic.SessionKeepAliveRes], error)
- func (UnimplementedIntegrationsPublicHandler) SubmitPayment(context.Context, *connect_go.Request[integrationspublic.SubmitPaymentReq]) (*connect_go.Response[integrationspublic.SubmitPaymentRes], error)
- func (UnimplementedIntegrationsPublicHandler) SubmitVerification(context.Context, *connect_go.Request[integrationspublic.SubmitVerificationReq]) (*connect_go.Response[integrationspublic.SubmitVerificationRes], error)
Constants ¶
const ( // IntegrationsPublicGetLinkDataProcedure is the fully-qualified name of the IntegrationsPublic's // GetLinkData RPC. IntegrationsPublicGetLinkDataProcedure = "/api.v1alpha1.integrationspublic.IntegrationsPublic/GetLinkData" // IntegrationsPublicSubmitVerificationProcedure is the fully-qualified name of the // IntegrationsPublic's SubmitVerification RPC. IntegrationsPublicSubmitVerificationProcedure = "/api.v1alpha1.integrationspublic.IntegrationsPublic/SubmitVerification" // IntegrationsPublicSessionKeepAliveProcedure is the fully-qualified name of the // IntegrationsPublic's SessionKeepAlive RPC. IntegrationsPublicSessionKeepAliveProcedure = "/api.v1alpha1.integrationspublic.IntegrationsPublic/SessionKeepAlive" // IntegrationsPublicGetInvoiceProcedure is the fully-qualified name of the IntegrationsPublic's // GetInvoice RPC. IntegrationsPublicGetInvoiceProcedure = "/api.v1alpha1.integrationspublic.IntegrationsPublic/GetInvoice" // IntegrationsPublicSubmitPaymentProcedure is the fully-qualified name of the IntegrationsPublic's // SubmitPayment RPC. IntegrationsPublicSubmitPaymentProcedure = "/api.v1alpha1.integrationspublic.IntegrationsPublic/SubmitPayment" // IntegrationsPublicGetReceiptProcedure is the fully-qualified name of the IntegrationsPublic's // GetReceipt RPC. IntegrationsPublicGetReceiptProcedure = "/api.v1alpha1.integrationspublic.IntegrationsPublic/GetReceipt" // IntegrationsPublicProcessWorkflowProcedure is the fully-qualified name of the // IntegrationsPublic's ProcessWorkflow RPC. IntegrationsPublicProcessWorkflowProcedure = "/api.v1alpha1.integrationspublic.IntegrationsPublic/ProcessWorkflow" )
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.
const (
// IntegrationsPublicName is the fully-qualified name of the IntegrationsPublic service.
IntegrationsPublicName = "api.v1alpha1.integrationspublic.IntegrationsPublic"
)
Variables ¶
This section is empty.
Functions ¶
func NewIntegrationsPublicHandler ¶
func NewIntegrationsPublicHandler(svc IntegrationsPublicHandler, opts ...connect_go.HandlerOption) (string, http.Handler)
NewIntegrationsPublicHandler 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 IntegrationsPublicClient ¶
type IntegrationsPublicClient interface { GetLinkData(context.Context, *connect_go.Request[integrationspublic.GetLinkDataReq]) (*connect_go.Response[integrationspublic.GetLinkDataRes], error) SubmitVerification(context.Context, *connect_go.Request[integrationspublic.SubmitVerificationReq]) (*connect_go.Response[integrationspublic.SubmitVerificationRes], error) SessionKeepAlive(context.Context, *connect_go.Request[integrationspublic.SessionKeepAliveReq]) (*connect_go.Response[integrationspublic.SessionKeepAliveRes], error) GetInvoice(context.Context, *connect_go.Request[integrationspublic.GetInvoiceReq]) (*connect_go.Response[integrationspublic.GetInvoiceRes], error) SubmitPayment(context.Context, *connect_go.Request[integrationspublic.SubmitPaymentReq]) (*connect_go.Response[integrationspublic.SubmitPaymentRes], error) GetReceipt(context.Context, *connect_go.Request[integrationspublic.GetReceiptReq]) (*connect_go.Response[integrationspublic.GetReceiptRes], error) ProcessWorkflow(context.Context, *connect_go.Request[integrationspublic.ProcessWorkflowReq]) (*connect_go.Response[integrationspublic.ProcessWorkflowRes], error) }
IntegrationsPublicClient is a client for the api.v1alpha1.integrationspublic.IntegrationsPublic service.
func NewIntegrationsPublicClient ¶
func NewIntegrationsPublicClient(httpClient connect_go.HTTPClient, baseURL string, opts ...connect_go.ClientOption) IntegrationsPublicClient
NewIntegrationsPublicClient constructs a client for the api.v1alpha1.integrationspublic.IntegrationsPublic 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 IntegrationsPublicHandler ¶
type IntegrationsPublicHandler interface { GetLinkData(context.Context, *connect_go.Request[integrationspublic.GetLinkDataReq]) (*connect_go.Response[integrationspublic.GetLinkDataRes], error) SubmitVerification(context.Context, *connect_go.Request[integrationspublic.SubmitVerificationReq]) (*connect_go.Response[integrationspublic.SubmitVerificationRes], error) SessionKeepAlive(context.Context, *connect_go.Request[integrationspublic.SessionKeepAliveReq]) (*connect_go.Response[integrationspublic.SessionKeepAliveRes], error) GetInvoice(context.Context, *connect_go.Request[integrationspublic.GetInvoiceReq]) (*connect_go.Response[integrationspublic.GetInvoiceRes], error) SubmitPayment(context.Context, *connect_go.Request[integrationspublic.SubmitPaymentReq]) (*connect_go.Response[integrationspublic.SubmitPaymentRes], error) GetReceipt(context.Context, *connect_go.Request[integrationspublic.GetReceiptReq]) (*connect_go.Response[integrationspublic.GetReceiptRes], error) ProcessWorkflow(context.Context, *connect_go.Request[integrationspublic.ProcessWorkflowReq]) (*connect_go.Response[integrationspublic.ProcessWorkflowRes], error) }
IntegrationsPublicHandler is an implementation of the api.v1alpha1.integrationspublic.IntegrationsPublic service.
type UnimplementedIntegrationsPublicHandler ¶
type UnimplementedIntegrationsPublicHandler struct{}
UnimplementedIntegrationsPublicHandler returns CodeUnimplemented from all methods.
func (UnimplementedIntegrationsPublicHandler) GetInvoice ¶
func (UnimplementedIntegrationsPublicHandler) GetLinkData ¶
func (UnimplementedIntegrationsPublicHandler) GetLinkData(context.Context, *connect_go.Request[integrationspublic.GetLinkDataReq]) (*connect_go.Response[integrationspublic.GetLinkDataRes], error)
func (UnimplementedIntegrationsPublicHandler) GetReceipt ¶
func (UnimplementedIntegrationsPublicHandler) ProcessWorkflow ¶ added in v1.8.4
func (UnimplementedIntegrationsPublicHandler) ProcessWorkflow(context.Context, *connect_go.Request[integrationspublic.ProcessWorkflowReq]) (*connect_go.Response[integrationspublic.ProcessWorkflowRes], error)
func (UnimplementedIntegrationsPublicHandler) SessionKeepAlive ¶
func (UnimplementedIntegrationsPublicHandler) SessionKeepAlive(context.Context, *connect_go.Request[integrationspublic.SessionKeepAliveReq]) (*connect_go.Response[integrationspublic.SessionKeepAliveRes], error)
func (UnimplementedIntegrationsPublicHandler) SubmitPayment ¶
func (UnimplementedIntegrationsPublicHandler) SubmitPayment(context.Context, *connect_go.Request[integrationspublic.SubmitPaymentReq]) (*connect_go.Response[integrationspublic.SubmitPaymentRes], error)
func (UnimplementedIntegrationsPublicHandler) SubmitVerification ¶
func (UnimplementedIntegrationsPublicHandler) SubmitVerification(context.Context, *connect_go.Request[integrationspublic.SubmitVerificationReq]) (*connect_go.Response[integrationspublic.SubmitVerificationRes], error)