Documentation ¶
Index ¶
- type BookGRPCHandlerServer
- func (_m *BookGRPCHandlerServer) Destroy(_a0 context.Context, _a1 *pb.BookIDModel) (*pb.BookBoolResponse, error)
- func (_m *BookGRPCHandlerServer) Fetch(_a0 context.Context, _a1 *pb.BookIDModel) (*pb.BookRowsResponse, error)
- func (_m *BookGRPCHandlerServer) Show(_a0 context.Context, _a1 *pb.BookIDModel) (*pb.BookRowResponse, error)
- func (_m *BookGRPCHandlerServer) Store(_a0 context.Context, _a1 *pb.BookAddRequest) (*pb.BookBoolResponse, error)
- func (_m *BookGRPCHandlerServer) Update(_a0 context.Context, _a1 *pb.BookModel) (*pb.BookBoolResponse, error)
- type IBookGRPCRepository
- func (_m *IBookGRPCRepository) All(ctx context.Context, arg *entity.Book) ([]*entity.Book, error)
- func (_m *IBookGRPCRepository) Erase(ctx context.Context, arg *entity.Book) error
- func (_m *IBookGRPCRepository) Find(ctx context.Context, arg *entity.Book) (*entity.Book, error)
- func (_m *IBookGRPCRepository) Patch(ctx context.Context, arg *entity.Book) error
- func (_m *IBookGRPCRepository) Record(ctx context.Context, arg *entity.Book) error
- type IBookRepository
- func (_m *IBookRepository) Delete(ctx context.Context, arg *entity.Book) error
- func (_m *IBookRepository) Insert(ctx context.Context, args ...*entity.Book) error
- func (_m *IBookRepository) Select(ctx context.Context, args ...string) ([]*entity.Book, error)
- func (_m *IBookRepository) Update(ctx context.Context, arg *entity.Book) error
- type IBookService
- func (_m *IBookService) All(ctx context.Context, args ...string) ([]*entity.Book, error)
- func (_m *IBookService) Erase(ctx context.Context, arg *entity.Book) error
- func (_m *IBookService) Find(ctx context.Context, arg *entity.Book) (*entity.Book, error)
- func (_m *IBookService) Patch(ctx context.Context, arg *entity.Book) error
- func (_m *IBookService) Record(ctx context.Context, args ...*entity.Book) error
- type IStoreGRPCRepository
- func (_m *IStoreGRPCRepository) All(ctx context.Context) ([]*entity.Store, error)
- func (_m *IStoreGRPCRepository) Erase(ctx context.Context, arg *entity.Store) error
- func (_m *IStoreGRPCRepository) Find(ctx context.Context, arg *entity.Store) (*entity.Store, error)
- func (_m *IStoreGRPCRepository) Patch(ctx context.Context, arg *entity.Store) error
- func (_m *IStoreGRPCRepository) Record(ctx context.Context, arg *entity.Store) error
- type IStoreRepository
- func (_m *IStoreRepository) Delete(ctx context.Context, arg *entity.Store) error
- func (_m *IStoreRepository) Insert(ctx context.Context, args ...*entity.Store) error
- func (_m *IStoreRepository) Select(ctx context.Context, args ...string) ([]*entity.Store, error)
- func (_m *IStoreRepository) Update(ctx context.Context, arg *entity.Store) error
- type IStoreService
- func (_m *IStoreService) All(ctx context.Context) ([]*entity.Store, error)
- func (_m *IStoreService) Erase(ctx context.Context, arg *entity.Store) error
- func (_m *IStoreService) Find(ctx context.Context, arg *entity.Store) (*entity.Store, error)
- func (_m *IStoreService) Patch(ctx context.Context, arg *entity.Store) error
- func (_m *IStoreService) Record(ctx context.Context, args ...*entity.Store) error
- type StoreGRPCHandlerServer
- func (_m *StoreGRPCHandlerServer) Destroy(_a0 context.Context, _a1 *pb.StoreIDModel) (*pb.StoreBoolResponse, error)
- func (_m *StoreGRPCHandlerServer) Fetch(_a0 context.Context, _a1 *pb.StoreEmptyRequest) (*pb.StoreRowsResponse, error)
- func (_m *StoreGRPCHandlerServer) Show(_a0 context.Context, _a1 *pb.StoreIDModel) (*pb.StoreRowResponse, error)
- func (_m *StoreGRPCHandlerServer) Store(_a0 context.Context, _a1 *pb.StoreNameModel) (*pb.StoreBoolResponse, error)
- func (_m *StoreGRPCHandlerServer) Update(_a0 context.Context, _a1 *pb.StoreModel) (*pb.StoreBoolResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BookGRPCHandlerServer ¶
type BookGRPCHandlerServer struct { pb.UnimplementedBookGRPCHandlerServer mock.Mock }
BookGRPCHandlerServer is an autogenerated mock type for the BookGRPCHandlerServer type
func NewBookGRPCHandlerServer ¶
func NewBookGRPCHandlerServer(t mockConstructorTestingTNewBookGRPCHandlerServer) *BookGRPCHandlerServer
NewBookGRPCHandlerServer creates a new instance of BookGRPCHandlerServer. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*BookGRPCHandlerServer) Destroy ¶
func (_m *BookGRPCHandlerServer) Destroy(_a0 context.Context, _a1 *pb.BookIDModel) (*pb.BookBoolResponse, error)
Destroy provides a mock function with given fields: _a0, _a1
func (*BookGRPCHandlerServer) Fetch ¶
func (_m *BookGRPCHandlerServer) Fetch(_a0 context.Context, _a1 *pb.BookIDModel) (*pb.BookRowsResponse, error)
Fetch provides a mock function with given fields: _a0, _a1
func (*BookGRPCHandlerServer) Show ¶
func (_m *BookGRPCHandlerServer) Show(_a0 context.Context, _a1 *pb.BookIDModel) (*pb.BookRowResponse, error)
Show provides a mock function with given fields: _a0, _a1
func (*BookGRPCHandlerServer) Store ¶
func (_m *BookGRPCHandlerServer) Store(_a0 context.Context, _a1 *pb.BookAddRequest) (*pb.BookBoolResponse, error)
Store provides a mock function with given fields: _a0, _a1
func (*BookGRPCHandlerServer) Update ¶
func (_m *BookGRPCHandlerServer) Update(_a0 context.Context, _a1 *pb.BookModel) (*pb.BookBoolResponse, error)
Update provides a mock function with given fields: _a0, _a1
type IBookGRPCRepository ¶
IBookGRPCRepository is an autogenerated mock type for the IBookGRPCRepository type
func NewIBookGRPCRepository ¶
func NewIBookGRPCRepository(t mockConstructorTestingTNewIBookGRPCRepository) *IBookGRPCRepository
NewIBookGRPCRepository creates a new instance of IBookGRPCRepository. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
type IBookRepository ¶
IBookRepository is an autogenerated mock type for the IBookRepository type
func NewIBookRepository ¶
func NewIBookRepository(t mockConstructorTestingTNewIBookRepository) *IBookRepository
NewIBookRepository creates a new instance of IBookRepository. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
type IBookService ¶
IBookService is an autogenerated mock type for the IBookService type
func NewIBookService ¶
func NewIBookService(t mockConstructorTestingTNewIBookService) *IBookService
NewIBookService creates a new instance of IBookService. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
type IStoreGRPCRepository ¶
IStoreGRPCRepository is an autogenerated mock type for the IStoreGRPCRepository type
func NewIStoreGRPCRepository ¶
func NewIStoreGRPCRepository(t mockConstructorTestingTNewIStoreGRPCRepository) *IStoreGRPCRepository
NewIStoreGRPCRepository creates a new instance of IStoreGRPCRepository. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
type IStoreRepository ¶
IStoreRepository is an autogenerated mock type for the IStoreRepository type
func NewIStoreRepository ¶
func NewIStoreRepository(t mockConstructorTestingTNewIStoreRepository) *IStoreRepository
NewIStoreRepository creates a new instance of IStoreRepository. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
type IStoreService ¶
IStoreService is an autogenerated mock type for the IStoreService type
func NewIStoreService ¶
func NewIStoreService(t mockConstructorTestingTNewIStoreService) *IStoreService
NewIStoreService creates a new instance of IStoreService. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
type StoreGRPCHandlerServer ¶
type StoreGRPCHandlerServer struct { pb.UnimplementedStoreGRPCHandlerServer mock.Mock }
StoreGRPCHandlerServer is an autogenerated mock type for the StoreGRPCHandlerServer type
func NewStoreGRPCHandlerServer ¶
func NewStoreGRPCHandlerServer(t mockConstructorTestingTNewStoreGRPCHandlerServer) *StoreGRPCHandlerServer
NewStoreGRPCHandlerServer creates a new instance of StoreGRPCHandlerServer. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*StoreGRPCHandlerServer) Destroy ¶
func (_m *StoreGRPCHandlerServer) Destroy(_a0 context.Context, _a1 *pb.StoreIDModel) (*pb.StoreBoolResponse, error)
Destroy provides a mock function with given fields: _a0, _a1
func (*StoreGRPCHandlerServer) Fetch ¶
func (_m *StoreGRPCHandlerServer) Fetch(_a0 context.Context, _a1 *pb.StoreEmptyRequest) (*pb.StoreRowsResponse, error)
Fetch provides a mock function with given fields: _a0, _a1
func (*StoreGRPCHandlerServer) Show ¶
func (_m *StoreGRPCHandlerServer) Show(_a0 context.Context, _a1 *pb.StoreIDModel) (*pb.StoreRowResponse, error)
Show provides a mock function with given fields: _a0, _a1
func (*StoreGRPCHandlerServer) Store ¶
func (_m *StoreGRPCHandlerServer) Store(_a0 context.Context, _a1 *pb.StoreNameModel) (*pb.StoreBoolResponse, error)
Store provides a mock function with given fields: _a0, _a1
func (*StoreGRPCHandlerServer) Update ¶
func (_m *StoreGRPCHandlerServer) Update(_a0 context.Context, _a1 *pb.StoreModel) (*pb.StoreBoolResponse, error)
Update provides a mock function with given fields: _a0, _a1