stdcrpc

package
v0.0.264 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2026 License: MIT Imports: 3 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package stdcrpc provides re-usable utilities for connect rpc usage.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ArgRead

type ArgRead struct {
	// contains filtered or unexported fields
}

ArgRead makes it more ergonomic to read from protobuf messages input that might turn out to be invalid. It can perform the error handling for this in one go and return well formatted Connect error for it.

func (ArgRead) Error

func (abi ArgRead) Error() error

Error returns the joined error as an InvalidArgument connect error or nil if there were no errors.

func (ArgRead) UUID

func (abi ArgRead) UUID(s string) (uid uuid.UUID, abo ArgRead)

UUID parses a uuid string.

func (ArgRead) UUIDp

func (abi ArgRead) UUIDp(s *string) (uidp *uuid.UUID, abo ArgRead)

UUIDp parses a string pointer into a pointer uuid.

Directories

Path Synopsis
Package stdcrpcaccess implements an access control layer for Connect RPC.
Package stdcrpcaccess implements an access control layer for Connect RPC.
Package stdcrpcapikey authenticates connect-go v2 RPCs with API keys that a database stores.
Package stdcrpcapikey authenticates connect-go v2 RPCs with API keys that a database stores.
Package stdcrpcintercept holds re-usable connect rpc interceptors.
Package stdcrpcintercept holds re-usable connect rpc interceptors.
Package stdcrpclongrunning serves and calls Google's google.longrunning.Operations service (AIP-151) with connect-go v2, in the shape protoc-gen-connect-go generates for other services.
Package stdcrpclongrunning serves and calls Google's google.longrunning.Operations service (AIP-151) with connect-go v2, in the shape protoc-gen-connect-go generates for other services.
Package stdcrpcsnap provides snapshot testing for Connect RPC response.
Package stdcrpcsnap provides snapshot testing for Connect RPC response.
Package stdcrpctest provides test assertions for Connect RPC code built on connect-go v2 (connectrpc.com/connect/v2).
Package stdcrpctest provides test assertions for Connect RPC code built on connect-go v2 (connectrpc.com/connect/v2).
Package stdcrpcwritefence gives a client read-your-writes consistency against an ro/rw transactor pair without any server-side state.
Package stdcrpcwritefence gives a client read-your-writes consistency against an ro/rw transactor pair without any server-side state.

Jump to

Keyboard shortcuts

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