Documentation ¶ Index ¶ type Signer func New(secret string, ttl time.Duration) *Signer func (s *Signer) Sign(rawURL string, cacheEntryID string) string func (s *Signer) Verify(cacheEntryID string, expiresValue string, signature string) bool Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Signer ¶ type Signer struct { // contains filtered or unexported fields } func New ¶ func New(secret string, ttl time.Duration) *Signer func (*Signer) Sign ¶ func (s *Signer) Sign(rawURL string, cacheEntryID string) string func (*Signer) Verify ¶ func (s *Signer) Verify(cacheEntryID string, expiresValue string, signature string) bool Source Files ¶ View all Source files signer.go Click to show internal directories. Click to hide internal directories.