Documentation ¶
Overview ¶
Package nowpayments is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type INowpayment ¶
type INowpayment interface { CreatePayment(party *store.TwitterParty) error UpdatePayment(party *store.TwitterParty) error }
type MockINowpayment ¶
type MockINowpayment struct {
// contains filtered or unexported fields
}
MockINowpayment is a mock of INowpayment interface.
func NewMockINowpayment ¶
func NewMockINowpayment(ctrl *gomock.Controller) *MockINowpayment
NewMockINowpayment creates a new mock instance.
func (*MockINowpayment) CreatePayment ¶
func (m *MockINowpayment) CreatePayment(party *store.TwitterParty) error
CreatePayment mocks base method.
func (*MockINowpayment) EXPECT ¶
func (m *MockINowpayment) EXPECT() *MockINowpaymentMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockINowpayment) UpdatePayment ¶
func (m *MockINowpayment) UpdatePayment(party *store.TwitterParty) error
UpdatePayment mocks base method.
type MockINowpaymentMockRecorder ¶
type MockINowpaymentMockRecorder struct {
// contains filtered or unexported fields
}
MockINowpaymentMockRecorder is the mock recorder for MockINowpayment.
func (*MockINowpaymentMockRecorder) CreatePayment ¶
func (mr *MockINowpaymentMockRecorder) CreatePayment(party any) *gomock.Call
CreatePayment indicates an expected call of CreatePayment.
func (*MockINowpaymentMockRecorder) UpdatePayment ¶
func (mr *MockINowpaymentMockRecorder) UpdatePayment(party any) *gomock.Call
UpdatePayment indicates an expected call of UpdatePayment.
type NowPayments ¶
type NowPayments struct {
// contains filtered or unexported fields
}
func NewNowPayments ¶
func NewNowPayments(cfg *Config) (*NowPayments, error)
func (*NowPayments) CreatePayment ¶
func (s *NowPayments) CreatePayment(party *store.TwitterParty) error
func (*NowPayments) UpdatePayment ¶
func (s *NowPayments) UpdatePayment(party *store.TwitterParty) error
Click to show internal directories.
Click to hide internal directories.