Documentation
¶
Index ¶
- type MockWrapper
- func (m *MockWrapper) Apply(doc jsparse.JSDocument) (jsparse.JSDocument, error)
- func (m *MockWrapper) DoesSatisfyConstraints(p string) bool
- func (m *MockWrapper) NodeDependencies() map[string]string
- func (m *MockWrapper) RequiredBodyDOMElements(ctx context.Context, opts *webwrap.CacheDOMOpts) []string
- func (m *MockWrapper) Version() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockWrapper ¶
type MockWrapper struct {
Satisfy bool
}
func (*MockWrapper) Apply ¶
func (m *MockWrapper) Apply(doc jsparse.JSDocument) (jsparse.JSDocument, error)
func (*MockWrapper) DoesSatisfyConstraints ¶
func (m *MockWrapper) DoesSatisfyConstraints(p string) bool
func (*MockWrapper) NodeDependencies ¶
func (m *MockWrapper) NodeDependencies() map[string]string
func (*MockWrapper) RequiredBodyDOMElements ¶
func (m *MockWrapper) RequiredBodyDOMElements(ctx context.Context, opts *webwrap.CacheDOMOpts) []string
func (*MockWrapper) Version ¶
func (m *MockWrapper) Version() string
Click to show internal directories.
Click to hide internal directories.