short_url_type

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SelectOptions

func SelectOptions() []models.SelectOptions

Types

type ShortUrlType

type ShortUrlType int
const (
	PERPETUAL ShortUrlType = iota + 1
	TIMES
	TIME_LIMIT
	TIME_LIMIT_AND_TIMES
)

func (ShortUrlType) Des

func (e ShortUrlType) Des() string

func (ShortUrlType) Enum

func (e ShortUrlType) Enum() string

func (ShortUrlType) MarshalJSON

func (e ShortUrlType) MarshalJSON() ([]byte, error)

func (*ShortUrlType) UnmarshalJSON

func (e *ShortUrlType) UnmarshalJSON(value []byte) error

func (ShortUrlType) Val

func (e ShortUrlType) Val() int

Jump to

Keyboard shortcuts

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