Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockValidator ¶
type MockValidator struct {
// contains filtered or unexported fields
}
MockValidator returns true if the data and address passed in the Validate method are a byte-wise match to the data and address passed to the constructor
func NewMockValidator ¶
func NewMockValidator(address swarm.Address, data []byte) *MockValidator
NewMockValidator constructs a new MockValidator
Click to show internal directories.
Click to hide internal directories.