Documentation ¶
Overview ¶
Package mock_links is a generated GoMock package.
Index ¶
- type MockLinkServiceClient
- func (m *MockLinkServiceClient) EXPECT() *MockLinkServiceClientMockRecorder
- func (m *MockLinkServiceClient) GetOriginalFromShorten(ctx context.Context, in *links.GetOriginalFromShortenReq, ...) (*links.GetOriginalFromShortenRes, error)
- func (m *MockLinkServiceClient) Shorten(ctx context.Context, in *links.ShortenReq, opts ...grpc.CallOption) (*links.ShortenRes, error)
- type MockLinkServiceClientMockRecorder
- type MockLinkServiceServer
- func (m *MockLinkServiceServer) EXPECT() *MockLinkServiceServerMockRecorder
- func (m *MockLinkServiceServer) GetOriginalFromShorten(arg0 context.Context, arg1 *links.GetOriginalFromShortenReq) (*links.GetOriginalFromShortenRes, error)
- func (m *MockLinkServiceServer) Shorten(arg0 context.Context, arg1 *links.ShortenReq) (*links.ShortenRes, error)
- type MockLinkServiceServerMockRecorder
- type MockUnsafeLinkServiceServer
- type MockUnsafeLinkServiceServerMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockLinkServiceClient ¶
type MockLinkServiceClient struct {
// contains filtered or unexported fields
}
MockLinkServiceClient is a mock of LinkServiceClient interface.
func NewMockLinkServiceClient ¶
func NewMockLinkServiceClient(ctrl *gomock.Controller) *MockLinkServiceClient
NewMockLinkServiceClient creates a new mock instance.
func (*MockLinkServiceClient) EXPECT ¶
func (m *MockLinkServiceClient) EXPECT() *MockLinkServiceClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockLinkServiceClient) GetOriginalFromShorten ¶
func (m *MockLinkServiceClient) GetOriginalFromShorten(ctx context.Context, in *links.GetOriginalFromShortenReq, opts ...grpc.CallOption) (*links.GetOriginalFromShortenRes, error)
GetOriginalFromShorten mocks base method.
func (*MockLinkServiceClient) Shorten ¶
func (m *MockLinkServiceClient) Shorten(ctx context.Context, in *links.ShortenReq, opts ...grpc.CallOption) (*links.ShortenRes, error)
Shorten mocks base method.
type MockLinkServiceClientMockRecorder ¶
type MockLinkServiceClientMockRecorder struct {
// contains filtered or unexported fields
}
MockLinkServiceClientMockRecorder is the mock recorder for MockLinkServiceClient.
func (*MockLinkServiceClientMockRecorder) GetOriginalFromShorten ¶
func (mr *MockLinkServiceClientMockRecorder) GetOriginalFromShorten(ctx, in interface{}, opts ...interface{}) *gomock.Call
GetOriginalFromShorten indicates an expected call of GetOriginalFromShorten.
func (*MockLinkServiceClientMockRecorder) Shorten ¶
func (mr *MockLinkServiceClientMockRecorder) Shorten(ctx, in interface{}, opts ...interface{}) *gomock.Call
Shorten indicates an expected call of Shorten.
type MockLinkServiceServer ¶
type MockLinkServiceServer struct {
// contains filtered or unexported fields
}
MockLinkServiceServer is a mock of LinkServiceServer interface.
func NewMockLinkServiceServer ¶
func NewMockLinkServiceServer(ctrl *gomock.Controller) *MockLinkServiceServer
NewMockLinkServiceServer creates a new mock instance.
func (*MockLinkServiceServer) EXPECT ¶
func (m *MockLinkServiceServer) EXPECT() *MockLinkServiceServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockLinkServiceServer) GetOriginalFromShorten ¶
func (m *MockLinkServiceServer) GetOriginalFromShorten(arg0 context.Context, arg1 *links.GetOriginalFromShortenReq) (*links.GetOriginalFromShortenRes, error)
GetOriginalFromShorten mocks base method.
func (*MockLinkServiceServer) Shorten ¶
func (m *MockLinkServiceServer) Shorten(arg0 context.Context, arg1 *links.ShortenReq) (*links.ShortenRes, error)
Shorten mocks base method.
type MockLinkServiceServerMockRecorder ¶
type MockLinkServiceServerMockRecorder struct {
// contains filtered or unexported fields
}
MockLinkServiceServerMockRecorder is the mock recorder for MockLinkServiceServer.
func (*MockLinkServiceServerMockRecorder) GetOriginalFromShorten ¶
func (mr *MockLinkServiceServerMockRecorder) GetOriginalFromShorten(arg0, arg1 interface{}) *gomock.Call
GetOriginalFromShorten indicates an expected call of GetOriginalFromShorten.
func (*MockLinkServiceServerMockRecorder) Shorten ¶
func (mr *MockLinkServiceServerMockRecorder) Shorten(arg0, arg1 interface{}) *gomock.Call
Shorten indicates an expected call of Shorten.
type MockUnsafeLinkServiceServer ¶
type MockUnsafeLinkServiceServer struct {
// contains filtered or unexported fields
}
MockUnsafeLinkServiceServer is a mock of UnsafeLinkServiceServer interface.
func NewMockUnsafeLinkServiceServer ¶
func NewMockUnsafeLinkServiceServer(ctrl *gomock.Controller) *MockUnsafeLinkServiceServer
NewMockUnsafeLinkServiceServer creates a new mock instance.
func (*MockUnsafeLinkServiceServer) EXPECT ¶
func (m *MockUnsafeLinkServiceServer) EXPECT() *MockUnsafeLinkServiceServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockUnsafeLinkServiceServerMockRecorder ¶
type MockUnsafeLinkServiceServerMockRecorder struct {
// contains filtered or unexported fields
}
MockUnsafeLinkServiceServerMockRecorder is the mock recorder for MockUnsafeLinkServiceServer.