package
0.0.0-20201108104125-141436f382d7
Repository: https://github.com/shayanh/grpc-go-contracts.git
Documentation: pkg.go.dev

# Functions

NewServerContract creates a ServerContract that has no contracts registered.

# Constants

RequestIDKey is the request context key used to store the request ID.

# Structs

RPCCallHistory lets you have access to the RPC calls made during an RPC lifetime.
ServerContract is a contract defined for a gRPC server.
ServiceContract is a contract defined for a gRPC service.
UnaryRPCCall represents an RPC call and its details.
UnaryRPCContract represents a contract for a unary RPC.

# Interfaces

Condition represents a pre or postcondition.

# Type aliases

CallSet is a set of UnaryRPCCalls that provides APIs for simpler usage.
LogFunc is a function that logs the provided message.