Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetNonceHandlerFunc ¶
func GetNonceHandlerFunc(ns NonceService) http.HandlerFunc
Types ¶
type HashicorpNonceService ¶
type HashicorpNonceService struct {
// contains filtered or unexported fields
}
func NewHashicorpNonceService ¶
func NewHashicorpNonceService() (*HashicorpNonceService, error)
func (*HashicorpNonceService) Get ¶
func (s *HashicorpNonceService) Get() (string, error)
func (*HashicorpNonceService) Redeem ¶
func (s *HashicorpNonceService) Redeem(nonceStr string) error
func (*HashicorpNonceService) Stats ¶
func (s *HashicorpNonceService) Stats() (*Stats, error)
type NonceService ¶
Click to show internal directories.
Click to hide internal directories.