compact

package
v0.0.0-...-3d3ad9f Latest Latest
Warning

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

Go to latest
Published: May 7, 2018 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

package compact provides function to work with json compact serialization format

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Parse

func Parse(token string) (result [][]byte, e error)

Parse splitting & decoding compact serialized json web token, returns slice of byte arrays, each representing part of token

func Serialize

func Serialize(parts ...[]byte) string

Serialize converts given parts into compact serialization format

Types

This section is empty.

Jump to

Keyboard shortcuts

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