const optSignMethod … const optPublicKey … const optPrivateKey … const optTTL … var knownOptions … var DefaultTTL … type jwtOptions … // ParseWithDefaults will load options from the specified map or set defaults where appropriate func (opts *jwtOptions) ParseWithDefaults(optMap map[string]string) error { … } // Parse will load options from the specified map func (opts *jwtOptions) Parse(optMap map[string]string) error { … } // Key will parse and return the appropriately typed key for the selected signature method func (opts *jwtOptions) Key() (interface{ … } func (opts *jwtOptions) hmacKey() (interface{ … } func (opts *jwtOptions) rsaKey() (interface{ … } func (opts *jwtOptions) ecKey() (interface{ … }