Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterHandlers ¶
Types ¶
type Service ¶
type Service interface { // GetURLs returns user urls GetURLs(ctx context.Context) (getURLsResponse, error) // DeleteURLs sends request to the deletion queue DeleteURLs(ctx context.Context, shortURLs []string) }
func NewService ¶
func NewService(repo repository.User, queue *queue.Queue) Service
NewService creates a new user service
Click to show internal directories.
Click to hide internal directories.