Versions in this module Expand all Collapse all v0 v0.2.1 Aug 27, 2023 v0.2.0 Aug 27, 2023 Changes in this version + const DefaultPrimaryKey + const DefaultTTLField + const DefaultTableName + type Option func(*Store) + func Domain(v string) Option + func DynamoDB(ddb *dynamodb.Client) Option + func HTTPOnly() Option + func MaxAge(v int) Option + func Path(v string) Option + func PrimaryKey(key string) Option + func RefreshCookies() Option + func Secure() Option + func SessionOptions(options sessions.Options) Option + func TableName(tableName string) Option + type Store struct + func New(client *dynamodb.Client, opts ...Option) (*Store, error) + func (store *Store) Delete(ctx context.Context, id string) error + func (store *Store) Get(req *http.Request, name string) (*sessions.Session, error) + func (store *Store) Load(ctx context.Context, value string, session *sessions.Session) error + func (store *Store) New(req *http.Request, name string) (*sessions.Session, error) + func (store *Store) Persist(ctx context.Context, name string, session *sessions.Session) error + func (store *Store) Save(req *http.Request, w http.ResponseWriter, session *sessions.Session) error