picori

package module
v0.0.0-...-2eb58e0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 22, 2024 License: GPL-3.0 Imports: 4 Imported by: 0

README

PICORI

Picori is a simple link shortening API

Documentation

Index

Constants

View Source
const HASH_SIZE = 9

Variables

This section is empty.

Functions

This section is empty.

Types

type URL

type URL struct {
	ShortURL string `json:"shorturl"`
	LongURL  string `json:"longurl"`
}

func (*URL) Expand

func (url *URL) Expand() error

func (*URL) Shorten

func (url *URL) Shorten() error

type User

type User struct {
	Id       string
	Username string
	Created  time.Time
}

type UserFilter

type UserFilter struct {
	Id       string
	Username string
}

Directories

Path Synopsis
api

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL