msgpack

package
v0.0.0-...-04692c9 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 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 represents a redirect

func (*Redirect) Decode

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

Decode decodes bytes to a Redirect

func (*Redirect) Encode

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

Encode encodes a redirect to bytes

Jump to

Keyboard shortcuts

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