package
0.0.0-20240528123408-96b4dbef904e
Repository: https://github.com/wurt83ow/tinyurl.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
# Functions
Example usage:
controller := NewBaseController(memoryStorage, option, nLogger, worker, authz) r.Mount("/", controller.Route()) flagRunAddr := option.RunAddr() http.ListenAndServe(flagRunAddr, r).
NewUsersServer creates a new UsersServer instance.
# Structs
BaseController represents a basic controller for handling user requests.
UsersServer supports all necessary server methods.
# Interfaces
Authz represents an interface for user authorization functionality.
Log represents an interface for logging functionality.
Options represents an interface for parsing command line options.
Storage represents an interface for data storage operations.
Worker represents an interface for worker functionality.