Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActivityPubClient ¶
ActivityPubClient is an autogenerated mock type for the ActivityPubClient type
func NewActivityPubClient ¶
func NewActivityPubClient(t mockConstructorTestingTNewActivityPubClient) *ActivityPubClient
NewActivityPubClient creates a new instance of ActivityPubClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*ActivityPubClient) EXPECT ¶
func (_m *ActivityPubClient) EXPECT() *ActivityPubClient_Expecter
type ActivityPubClient_Expecter ¶
type ActivityPubClient_Expecter struct {
// contains filtered or unexported fields
}
func (*ActivityPubClient_Expecter) PostInbox ¶
func (_e *ActivityPubClient_Expecter) PostInbox(ctx interface{}, to interface{}, from interface{}, act interface{}) *ActivityPubClient_PostInbox_Call
PostInbox is a helper method to define mock.On call
- ctx context.Context
- to *models.Actor
- from *models.User
- act pub.Activity
type ActivityPubClient_PostInbox_Call ¶
ActivityPubClient_PostInbox_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PostInbox'
func (*ActivityPubClient_PostInbox_Call) Return ¶
func (_c *ActivityPubClient_PostInbox_Call) Return(_a0 error) *ActivityPubClient_PostInbox_Call
Click to show internal directories.
Click to hide internal directories.