Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HealthCheckService ¶
type HealthCheckService struct {
IHealthCheckService
// contains filtered or unexported fields
}
func (*HealthCheckService) VerifyStatus ¶
func (h *HealthCheckService) VerifyStatus(ctx context.Context) models.HealthCheckResponse
type IHealthCheckService ¶
type IHealthCheckService interface {
VerifyStatus(ctx context.Context) models.HealthCheckResponse
}
func NewHealthCheck ¶
func NewHealthCheck(db *sqlx.DB) IHealthCheckService
type IUserService ¶
type IUserService interface {
SaveUserInfo(ctx context.Context, user models.User) (models.User, error)
GetUserInfo(ctx context.Context, id int64) (models.User, error)
ListUser(ctx context.Context, offset int, limit int) ([]models.User, error)
}
func NewUserService ¶
func NewUserService(userRepository repository.IUserRepository) IUserService
type UserService ¶
type UserService struct {
IUserService
// contains filtered or unexported fields
}
func (*UserService) GetUserInfo ¶
func (*UserService) SaveUserInfo ¶
Click to show internal directories.
Click to hide internal directories.