compact

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2016 License: MIT, Apache-2.0 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