Documentation ¶
Index ¶
- Variables
- type PetClinicRestService
- func (s *PetClinicRestService) CreateOwner(ctx context.Context, req *pb.CreateOwnerRequest) (*pb.CreateOwnerReply, error)
- func (s *PetClinicRestService) CreateOwnerPet(ctx context.Context, req *pb.CreateOwnerPetRequest) (*pb.CreateOwnerPetReply, error)
- func (s *PetClinicRestService) CreatePet(ctx context.Context, req *pb.CreatePetRequest) (*pb.CreatePetReply, error)
- func (s *PetClinicRestService) CreatePetType(ctx context.Context, req *pb.CreatePetTypeRequest) (*pb.CreatePetTypeReply, error)
- func (s *PetClinicRestService) CreateVisit(ctx context.Context, req *pb.CreateVisitRequest) (*pb.CreateVisitReply, error)
- func (s *PetClinicRestService) CurrentUser(ctx context.Context, req *pb.GetCurrentUserRequest) (*pb.GetCurrentUserReply, error)
- func (s *PetClinicRestService) DeleteOwner(ctx context.Context, req *pb.DeleteOwnerRequest) (*pb.DeleteOwnerReply, error)
- func (s *PetClinicRestService) DeleteOwnerPet(ctx context.Context, req *pb.DeleteOwnerPetRequest) (*pb.DeleteOwnerPetReply, error)
- func (s *PetClinicRestService) DeletePet(ctx context.Context, req *pb.DeletePetRequest) (*pb.DeletePetReply, error)
- func (s *PetClinicRestService) DeletePetType(ctx context.Context, req *pb.DeletePetTypeRequest) (*pb.DeletePetTypeReply, error)
- func (s *PetClinicRestService) DeleteVisit(ctx context.Context, req *pb.DeleteVisitRequest) (*pb.DeleteVisitReply, error)
- func (s *PetClinicRestService) GetOwner(ctx context.Context, req *pb.GetOwnerRequest) (*pb.GetOwnerReply, error)
- func (s *PetClinicRestService) GetOwnerPet(ctx context.Context, req *pb.GetOwnerPetRequest) (*pb.GetOwnerPetReply, error)
- func (s *PetClinicRestService) GetPet(ctx context.Context, req *pb.GetPetRequest) (*pb.GetPetReply, error)
- func (s *PetClinicRestService) GetPetType(ctx context.Context, req *pb.GetPetTypeRequest) (*pb.GetPetTypeReply, error)
- func (s *PetClinicRestService) GetUser(ctx context.Context, req *pb.GetUserRequest) (*pb.GetUserReply, error)
- func (s *PetClinicRestService) GetVisit(ctx context.Context, req *pb.GetVisitRequest) (*pb.GetVisitReply, error)
- func (s *PetClinicRestService) ListOwner(ctx context.Context, req *pb.ListOwnerRequest) (*pb.ListOwnerReply, error)
- func (s *PetClinicRestService) ListPet(ctx context.Context, req *pb.ListPetRequest) (*pb.ListPetReply, error)
- func (s *PetClinicRestService) ListPetType(ctx context.Context, req *pb.ListPetTypeRequest) (*pb.ListPetTypeReply, error)
- func (s *PetClinicRestService) ListUser(ctx context.Context, req *pb.ListUserRequest) (*pb.ListUserReply, error)
- func (s *PetClinicRestService) ListVisit(ctx context.Context, req *pb.ListVisitRequest) (*pb.ListVisitReply, error)
- func (s *PetClinicRestService) Login(ctx context.Context, req *pb.LoginRequest) (*pb.LoginReply, error)
- func (s *PetClinicRestService) Register(ctx context.Context, req *pb.CreateUserRequest) (*pb.CreateUserReply, error)
- func (s *PetClinicRestService) UpdateOwner(ctx context.Context, req *pb.UpdateOwnerRequest) (*pb.UpdateOwnerReply, error)
- func (s *PetClinicRestService) UpdatePet(ctx context.Context, req *pb.UpdatePetRequest) (*pb.UpdatePetReply, error)
- func (s *PetClinicRestService) UpdatePetType(ctx context.Context, req *pb.UpdatePetTypeRequest) (*pb.UpdatePetTypeReply, error)
- func (s *PetClinicRestService) UpdateVisit(ctx context.Context, req *pb.UpdateVisitRequest) (*pb.UpdateVisitReply, error)
- type PetClinicRpcService
Constants ¶
This section is empty.
Variables ¶
View Source
var ProviderSet = wire.NewSet( NewPetClinicRestService, NewPetClinicRPCService, )
ProviderSet is service providers.
Functions ¶
This section is empty.
Types ¶
type PetClinicRestService ¶
type PetClinicRestService struct { pb.UnimplementedPetClinicRestServiceServer UserUseCase *biz.UserUseCase // contains filtered or unexported fields }
func NewPetClinicRestService ¶
func NewPetClinicRestService(c *conf.Bootstrap, UserUseCase *biz.UserUseCase) *PetClinicRestService
func (*PetClinicRestService) CreateOwner ¶
func (s *PetClinicRestService) CreateOwner(ctx context.Context, req *pb.CreateOwnerRequest) (*pb.CreateOwnerReply, error)
func (*PetClinicRestService) CreateOwnerPet ¶
func (s *PetClinicRestService) CreateOwnerPet(ctx context.Context, req *pb.CreateOwnerPetRequest) (*pb.CreateOwnerPetReply, error)
func (*PetClinicRestService) CreatePet ¶
func (s *PetClinicRestService) CreatePet(ctx context.Context, req *pb.CreatePetRequest) (*pb.CreatePetReply, error)
func (*PetClinicRestService) CreatePetType ¶
func (s *PetClinicRestService) CreatePetType(ctx context.Context, req *pb.CreatePetTypeRequest) (*pb.CreatePetTypeReply, error)
func (*PetClinicRestService) CreateVisit ¶
func (s *PetClinicRestService) CreateVisit(ctx context.Context, req *pb.CreateVisitRequest) (*pb.CreateVisitReply, error)
func (*PetClinicRestService) CurrentUser ¶
func (s *PetClinicRestService) CurrentUser(ctx context.Context, req *pb.GetCurrentUserRequest) (*pb.GetCurrentUserReply, error)
func (*PetClinicRestService) DeleteOwner ¶
func (s *PetClinicRestService) DeleteOwner(ctx context.Context, req *pb.DeleteOwnerRequest) (*pb.DeleteOwnerReply, error)
func (*PetClinicRestService) DeleteOwnerPet ¶
func (s *PetClinicRestService) DeleteOwnerPet(ctx context.Context, req *pb.DeleteOwnerPetRequest) (*pb.DeleteOwnerPetReply, error)
func (*PetClinicRestService) DeletePet ¶
func (s *PetClinicRestService) DeletePet(ctx context.Context, req *pb.DeletePetRequest) (*pb.DeletePetReply, error)
func (*PetClinicRestService) DeletePetType ¶
func (s *PetClinicRestService) DeletePetType(ctx context.Context, req *pb.DeletePetTypeRequest) (*pb.DeletePetTypeReply, error)
func (*PetClinicRestService) DeleteVisit ¶
func (s *PetClinicRestService) DeleteVisit(ctx context.Context, req *pb.DeleteVisitRequest) (*pb.DeleteVisitReply, error)
func (*PetClinicRestService) GetOwner ¶
func (s *PetClinicRestService) GetOwner(ctx context.Context, req *pb.GetOwnerRequest) (*pb.GetOwnerReply, error)
func (*PetClinicRestService) GetOwnerPet ¶
func (s *PetClinicRestService) GetOwnerPet(ctx context.Context, req *pb.GetOwnerPetRequest) (*pb.GetOwnerPetReply, error)
func (*PetClinicRestService) GetPet ¶
func (s *PetClinicRestService) GetPet(ctx context.Context, req *pb.GetPetRequest) (*pb.GetPetReply, error)
func (*PetClinicRestService) GetPetType ¶
func (s *PetClinicRestService) GetPetType(ctx context.Context, req *pb.GetPetTypeRequest) (*pb.GetPetTypeReply, error)
func (*PetClinicRestService) GetUser ¶
func (s *PetClinicRestService) GetUser(ctx context.Context, req *pb.GetUserRequest) (*pb.GetUserReply, error)
func (*PetClinicRestService) GetVisit ¶
func (s *PetClinicRestService) GetVisit(ctx context.Context, req *pb.GetVisitRequest) (*pb.GetVisitReply, error)
func (*PetClinicRestService) ListOwner ¶
func (s *PetClinicRestService) ListOwner(ctx context.Context, req *pb.ListOwnerRequest) (*pb.ListOwnerReply, error)
func (*PetClinicRestService) ListPet ¶
func (s *PetClinicRestService) ListPet(ctx context.Context, req *pb.ListPetRequest) (*pb.ListPetReply, error)
func (*PetClinicRestService) ListPetType ¶
func (s *PetClinicRestService) ListPetType(ctx context.Context, req *pb.ListPetTypeRequest) (*pb.ListPetTypeReply, error)
func (*PetClinicRestService) ListUser ¶
func (s *PetClinicRestService) ListUser(ctx context.Context, req *pb.ListUserRequest) (*pb.ListUserReply, error)
func (*PetClinicRestService) ListVisit ¶
func (s *PetClinicRestService) ListVisit(ctx context.Context, req *pb.ListVisitRequest) (*pb.ListVisitReply, error)
func (*PetClinicRestService) Login ¶
func (s *PetClinicRestService) Login(ctx context.Context, req *pb.LoginRequest) (*pb.LoginReply, error)
func (*PetClinicRestService) Register ¶
func (s *PetClinicRestService) Register(ctx context.Context, req *pb.CreateUserRequest) (*pb.CreateUserReply, error)
func (*PetClinicRestService) UpdateOwner ¶
func (s *PetClinicRestService) UpdateOwner(ctx context.Context, req *pb.UpdateOwnerRequest) (*pb.UpdateOwnerReply, error)
func (*PetClinicRestService) UpdatePet ¶
func (s *PetClinicRestService) UpdatePet(ctx context.Context, req *pb.UpdatePetRequest) (*pb.UpdatePetReply, error)
func (*PetClinicRestService) UpdatePetType ¶
func (s *PetClinicRestService) UpdatePetType(ctx context.Context, req *pb.UpdatePetTypeRequest) (*pb.UpdatePetTypeReply, error)
func (*PetClinicRestService) UpdateVisit ¶
func (s *PetClinicRestService) UpdateVisit(ctx context.Context, req *pb.UpdateVisitRequest) (*pb.UpdateVisitReply, error)
type PetClinicRpcService ¶
type PetClinicRpcService struct {
pb.UnimplementedPetClinicRPCServiceServer
}
func NewPetClinicRPCService ¶
func NewPetClinicRPCService() *PetClinicRpcService
Click to show internal directories.
Click to hide internal directories.