Documentation ¶
Overview ¶
Package restriction is an experimental package for preventing unwanted transport-encoding pairs.
This package is under `x/` and subject to change. See README for details on 'x' packages.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Checker ¶
Checker is used by encoding clients, for example Protobuf and Thrift, to prevent unwanted transport-encoding combinations.
Errors indicate whitelisted combinations.
func NewChecker ¶
NewChecker creates a Checker with a whitelist tuple combinations.
Click to show internal directories.
Click to hide internal directories.