Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HealthCheckError ¶
type HealthService ¶
type HealthService struct {
// contains filtered or unexported fields
}
func NewHealthService ¶
func NewHealthService(stores ...HealthStore) *HealthService
func (*HealthService) Check ¶
func (hs *HealthService) Check() []HealthCheckError
type HealthStore ¶
type IHealthService ¶
type IHealthService interface {
Check() []HealthCheckError
}
type RoutesService ¶
type RoutesService struct {
// contains filtered or unexported fields
}
func NewRoutesService ¶
func NewRoutesService(store RoutesStore) *RoutesService
func (*RoutesService) CreateRoute ¶
func (rs *RoutesService) CreateRoute(key string, RedirectURL string, ExtendedURL string) error
func (*RoutesService) DeleteRoute ¶
func (rs *RoutesService) DeleteRoute(key string) error
func (*RoutesService) GetAllRoutes ¶
func (rs *RoutesService) GetAllRoutes() ([]*models.Route, error)
Click to show internal directories.
Click to hide internal directories.