Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type URLShorter ¶
type URLShorter struct {
// contains filtered or unexported fields
}
func NewURLShorter ¶
func NewURLShorter(pool *pgxpool.Pool) *URLShorter
func (*URLShorter) GetURLByHash ¶
func (*URLShorter) SetURLByHash ¶
func (u *URLShorter) SetURLByHash(ctx context.Context, hash, url string) error
Click to show internal directories.
Click to hide internal directories.