Versions in this module Expand all Collapse all v0 v0.1.1 Oct 1, 2022 Changes in this version + const HS256 + func GetPayload(token string) ([]byte, error) + func Sign(payload interface{}) (ret string, err error) + func Verify(token string) (err error) + type Instance struct + Secret string + func (i *Instance) GetName() string + func (i *Instance) Load() error