mock_prototool

package
v17.7.2 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2025 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Equate

func Equate() cmp.Option

func NewHeaderKV

func NewHeaderKV(key string, values ...string) *prototool.HeaderKV

func NewQueryKV

func NewQueryKV(key string, values ...string) *prototool.QueryKV

func ProtoEq added in v17.7.0

func ProtoEq(t *testing.T, msg any, opts ...cmp.Option) gomock.Matcher

ProtoEq is like matcher.ProtoEq(..., ..., Equate()).

func ValidHeaderName

func ValidHeaderName() string

func ValidHeaderValue

func ValidHeaderValue() string

^\\x00-\\x08\\x0A-\\x1F\\x7F

Types

This section is empty.

Jump to

Keyboard shortcuts

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