json

package
v0.0.0-...-c78c501 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Redirect

type Redirect struct{}

func (*Redirect) Decode

func (r *Redirect) Decode(input []byte) (*shortner.Redirect, error)

func (*Redirect) Encode

func (r *Redirect) Encode(input *shortner.Redirect) ([]byte, error)

Jump to

Keyboard shortcuts

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