test - ActiveState ActiveGo 1.8
...

Package test

import "github.com/dgrijalva/jwt-go/test"
Overview
Index

Overview ▾

func LoadRSAPrivateKeyFromDisk

func LoadRSAPrivateKeyFromDisk(location string) *rsa.PrivateKey

func LoadRSAPublicKeyFromDisk

func LoadRSAPublicKeyFromDisk(location string) *rsa.PublicKey

func MakeSampleToken

func MakeSampleToken(c jwt.Claims, key interface{}) string