gitfund: github.com/tav/gitfund/app/token Index | Files

package token

import "github.com/tav/gitfund/app/token"

Index

Package Files

token.go

func Parse Uses

func Parse(name string, token string, keys Keys) string

type KeySpec Uses

type KeySpec struct {
    Key  []byte
    Hash func() hash.Hash
    ID   int
}

type Keys Uses

type Keys map[int]*KeySpec

type Signed Uses

type Signed struct {
    // contains filtered or unexported fields
}

func New Uses

func New(name string, value string, duration time.Duration, spec *KeySpec) *Signed

func (*Signed) String Uses

func (t *Signed) String() string

Package token imports 8 packages (graph) and is imported by 1 packages. Updated 2016-07-28. Refresh now. Tools for package owners.