Documentation
¶
Index ¶
- Variables
- func CreateURL[T Response[T]](id string, uuid string, target string, resp T, oldResp T) (T, T, error)
- func FindURLByUUID[T Response[T]](uuid string, resp T) (T, error)
- func PaginateURLs[T Response[T]](page uint, resp []T) ([]T, int, error)
- func RemoveURL[T Response[T]](id string, resp T) (T, error)
- func SearchURLsBy[T Response[T]](term string, resp []T) ([]T, error)
- func Start(ctx context.Context, env string, db *sqlx.DB, maxUrl uint, maxConcurrency uint, ...) error
- type Response
Constants ¶
This section is empty.
Variables ¶
View Source
var (
InitializationErr = errors.New("url: failed to initialize")
)
Functions ¶
func FindURLByUUID ¶
func SearchURLsBy ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.