Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UrlConfiguration ¶
type UrlConfiguration func(*UrlService) error
func WithPostgresURLRepository ¶
func WithPostgresURLRepository(config config.Posgres) UrlConfiguration
func WithRedisCacheRepository ¶
func WithRedisCacheRepository(config config.Redis) UrlConfiguration
type UrlService ¶
type UrlService struct {
// contains filtered or unexported fields
}
func New ¶
func New(cfgs ...UrlConfiguration) (*UrlService, error)
Click to show internal directories.
Click to hide internal directories.