Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Calls ¶
type Calls struct { Update []UpdateCall Get int }
type GetRet ¶
type GetRet struct { Ret lib.AddressSet Err error }
type MockImplementation ¶
type MockImplementation struct { GetRet GetRet UpdateRet error // contains filtered or unexported fields }
func NewImplementation ¶
func NewImplementation() *MockImplementation
func (*MockImplementation) Calls ¶
func (mi *MockImplementation) Calls() Calls
func (*MockImplementation) GetAllowedAddresses ¶
func (mi *MockImplementation) GetAllowedAddresses() (lib.AddressSet, error)
func (*MockImplementation) UpdateAllowedAddresses ¶
func (mi *MockImplementation) UpdateAllowedAddresses(toAdd lib.AddressSet, toDelete lib.AddressSet) error
type Msg ¶
type Msg struct { Bytes json.RawMessage Err error }
type UpdateCall ¶
type UpdateCall struct { ToAdd lib.AddressSet ToDelete lib.AddressSet }
Click to show internal directories.
Click to hide internal directories.