mock

package
v0.6.2 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Decode

func Decode(doc []models.Mock) ([]*proto.Mock, error)

func Encode

func Encode(doc *proto.Mock) (models.Mock, error)

func ToHttpHeader added in v0.5.5

func ToHttpHeader(mockHeader map[string]string) http.Header

func ToMockHeader added in v0.5.5

func ToMockHeader(httpHeader http.Header) map[string]string

func ToModelObjects

func ToModelObjects(objs []*proto.Mock_Object) []models.Object

Types

This section is empty.

Jump to

Keyboard shortcuts

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