Documentation ¶
Index ¶
- type ReceiptStore
- func (_m *ReceiptStore) Close()
- func (_m *ReceiptStore) GetReceipt(res http.ResponseWriter, req *http.Request, params httprouter.Params)
- func (_m *ReceiptStore) GetReceipts(res http.ResponseWriter, req *http.Request, params httprouter.Params)
- func (_m *ReceiptStore) Init(_a0 ws.WebSocketChannels, _a1 ...api.ReceiptStorePersistence) error
- func (_m *ReceiptStore) ProcessReceipt(msgBytes []byte)
- func (_m *ReceiptStore) ValidateConf() error
- type ReceiptStorePersistence
- func (_m *ReceiptStorePersistence) AddReceipt(requestID string, _a1 *map[string]interface{}) error
- func (_m *ReceiptStorePersistence) Close()
- func (_m *ReceiptStorePersistence) GetReceipt(requestID string) (*map[string]interface{}, error)
- func (_m *ReceiptStorePersistence) GetReceipts(skip int, limit int, ids []string, sinceEpochMS int64, from string, to string, ...) (*[]map[string]interface{}, error)
- func (_m *ReceiptStorePersistence) Init() error
- func (_m *ReceiptStorePersistence) ValidateConf() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ReceiptStore ¶
ReceiptStore is an autogenerated mock type for the ReceiptStore type
func (*ReceiptStore) Close ¶
func (_m *ReceiptStore) Close()
Close provides a mock function with given fields:
func (*ReceiptStore) GetReceipt ¶
func (_m *ReceiptStore) GetReceipt(res http.ResponseWriter, req *http.Request, params httprouter.Params)
GetReceipt provides a mock function with given fields: res, req, params
func (*ReceiptStore) GetReceipts ¶
func (_m *ReceiptStore) GetReceipts(res http.ResponseWriter, req *http.Request, params httprouter.Params)
GetReceipts provides a mock function with given fields: res, req, params
func (*ReceiptStore) Init ¶
func (_m *ReceiptStore) Init(_a0 ws.WebSocketChannels, _a1 ...api.ReceiptStorePersistence) error
Init provides a mock function with given fields: _a0, _a1
func (*ReceiptStore) ProcessReceipt ¶
func (_m *ReceiptStore) ProcessReceipt(msgBytes []byte)
ProcessReceipt provides a mock function with given fields: msgBytes
func (*ReceiptStore) ValidateConf ¶
func (_m *ReceiptStore) ValidateConf() error
ValidateConf provides a mock function with given fields:
type ReceiptStorePersistence ¶ added in v0.9.9
ReceiptStorePersistence is an autogenerated mock type for the ReceiptStorePersistence type
func (*ReceiptStorePersistence) AddReceipt ¶ added in v0.9.9
func (_m *ReceiptStorePersistence) AddReceipt(requestID string, _a1 *map[string]interface{}) error
AddReceipt provides a mock function with given fields: requestID, _a1
func (*ReceiptStorePersistence) Close ¶ added in v0.9.9
func (_m *ReceiptStorePersistence) Close()
Close provides a mock function with given fields:
func (*ReceiptStorePersistence) GetReceipt ¶ added in v0.9.9
func (_m *ReceiptStorePersistence) GetReceipt(requestID string) (*map[string]interface{}, error)
GetReceipt provides a mock function with given fields: requestID
func (*ReceiptStorePersistence) GetReceipts ¶ added in v0.9.9
func (_m *ReceiptStorePersistence) GetReceipts(skip int, limit int, ids []string, sinceEpochMS int64, from string, to string, start string) (*[]map[string]interface{}, error)
GetReceipts provides a mock function with given fields: skip, limit, ids, sinceEpochMS, from, to, start
func (*ReceiptStorePersistence) Init ¶ added in v0.9.9
func (_m *ReceiptStorePersistence) Init() error
Init provides a mock function with given fields:
func (*ReceiptStorePersistence) ValidateConf ¶ added in v0.9.9
func (_m *ReceiptStorePersistence) ValidateConf() error
ValidateConf provides a mock function with given fields: