util

package
v0.0.0-...-f2cfa69 Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Auth

type Auth interface {
	Action() bool
}

type HashURLConverter

type HashURLConverter struct{}

func (*HashURLConverter) ToShortURL

func (hc *HashURLConverter) ToShortURL(langURL string) []string

type URLConverter

type URLConverter interface {
	ToShortURL(langURL string) []string
}

type UUIDUniqueID

type UUIDUniqueID struct{}

func (UUIDUniqueID) Generate

func (UUIDUniqueID) Generate() string

type UnAuth

type UnAuth struct{}

func (UnAuth) Action

func (UnAuth) Action() bool

type UniqueID

type UniqueID interface {
	Generate() string
}

Jump to

Keyboard shortcuts

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