Secret returns the opaque secret for this Key.
()
| 132 | |
| 133 | // Secret returns the opaque secret for this Key. |
| 134 | func (k *Key) Secret() string { |
| 135 | q := k.url.Query() |
| 136 | |
| 137 | return q.Get("secret") |
| 138 | } |
| 139 | |
| 140 | // Period returns a tiny int representing the rotation time in seconds. |
| 141 | func (k *Key) Period() uint64 { |
no outgoing calls