Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func NewService ¶
func NewService(tm repository.Transaction, logger *log.Logger, sid *sid.Sid, jwt *jwt.JWT) *Service
type UserService ¶
type UserService interface { Register(ctx context.Context, req *v1.RegisterRequest) error Login(ctx context.Context, req *v1.LoginRequest) (string, error) GetProfile(ctx context.Context, userId string) (*v1.GetProfileResponseData, error) UpdateProfile(ctx context.Context, userId string, req *v1.UpdateProfileRequest) error }
func NewUserService ¶
func NewUserService(service *Service, userRepo repository.UserRepository) UserService
Click to show internal directories.
Click to hide internal directories.