browserMock

package
v0.9.1 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(r chi.Router, logger *zap.Logger, svc mock2.Service)

Types

type BrowserMockReq

type BrowserMockReq struct {
	ID       string                            `json:"id" bson:"_id"`
	Created  int64                             `json:"created" bson:"created"`
	Updated  int64                             `json:"updated" bson:"updated"`
	AppID    string                            `json:"app_id" bson:"app_id,omitempty"`
	TestName string                            `json:"test_name" bson:"test_name,omitempty"`
	Deps     []map[string]models.FetchResponse `json:"deps" bson:"deps,omitempty"`
}

func (*BrowserMockReq) Bind

func (req *BrowserMockReq) Bind(r *http.Request) error

Jump to

Keyboard shortcuts

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