Versions in this module Expand all Collapse all v1 v1.0.2 Jul 14, 2023 Changes in this version + type CloudFrontSigner struct + CloudFrontKeypairId string + PrivateKeySecretId string + SecretsManagerClient *aws.SecretsManagerClient + func NewCloudFrontSigner(cloudfrontKeypairId string, privateKeySecretId string) CloudFrontSigner + func (c *CloudFrontSigner) GenerateSignedCookies(uriToSign string, secondsBeforeExpiration int) (map[string]string, error) + type SignController struct + Signer CloudFrontSigner + func NewSignController(cloudfrontKeypairId string, privateKeySecretId string) SignController + func (c *SignController) Sign(ctx *gin.Context)