msgpack

package
v0.0.0-...-43c1e5f Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2020 License: MIT 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{}

Redirect holds a JSON implementation of shortener.Redirect.

func (*Redirect) Decode

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

Decode decodes a Redirect from JSON

func (*Redirect) Encode

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

Encode encodes a Redirect to JSON.

Jump to

Keyboard shortcuts

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