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: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BrowserMock

type BrowserMock struct {
	// contains filtered or unexported fields
}

BrowserMock is a service to read-write mocks during record and replay in Selenium-IDE only.

func NewBrMockService

func NewBrMockService(c models.BrowserMockDB, log *zap.Logger) *BrowserMock

func (*BrowserMock) Get

func (s *BrowserMock) Get(ctx context.Context, app string, testName string) ([]models.BrowserMock, error)

func (*BrowserMock) Put

type Service

type Service interface {
	Put(context.Context, models.BrowserMock) error
	Get(ctx context.Context, app string, testName string) ([]models.BrowserMock, error)
}

Jump to

Keyboard shortcuts

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