Documentation
¶
Overview ¶
Copyright 2025 Contributors to the Veraison project. SPDX-License-Identifier: Apache-2.0
Copyright 2022-2025 Contributors to the Veraison project. SPDX-License-Identifier: Apache-2.0
Copyright 2025 Contributors to the Veraison project. SPDX-License-Identifier: Apache-2.0
Copyright 2025 Contributors to the Veraison project. SPDX-License-Identifier: Apache-2.0
Copyright 2022-2025 Contributors to the Veraison project. SPDX-License-Identifier: Apache-2.0
Index ¶
- Constants
- type ISessionManager
- type Memcached
- func (o *Memcached) Close() error
- func (o *Memcached) DelSession(id uuid.UUID, tenant string) error
- func (o *Memcached) GetSession(id uuid.UUID, tenant string) (json.RawMessage, error)
- func (o *Memcached) Init(v *viper.Viper) error
- func (o *Memcached) SetSession(id uuid.UUID, tenant string, session json.RawMessage, ttl time.Duration) error
- type TTLCache
- func (o *TTLCache) Close() error
- func (o *TTLCache) DelSession(id uuid.UUID, tenant string) error
- func (o *TTLCache) GetSession(id uuid.UUID, tenant string) (json.RawMessage, error)
- func (o *TTLCache) Init(v *viper.Viper) error
- func (o *TTLCache) SetSession(id uuid.UUID, tenant string, session json.RawMessage, ttl time.Duration) error
Constants ¶
View Source
const DefaultBackend = "ttlcache"
View Source
const DefaultMemcachedServer = "localhost:11211"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ISessionManager ¶
type Memcached ¶ added in v0.0.2503
type Memcached struct {
// contains filtered or unexported fields
}
func NewMemcached ¶ added in v0.0.2503
func NewMemcached() *Memcached
func (*Memcached) DelSession ¶ added in v0.0.2503
func (*Memcached) GetSession ¶ added in v0.0.2503
type TTLCache ¶ added in v0.0.2503
type TTLCache struct {
// contains filtered or unexported fields
}
func NewTTLCache ¶ added in v0.0.2503
func NewTTLCache() *TTLCache
func (*TTLCache) DelSession ¶ added in v0.0.2503
func (*TTLCache) GetSession ¶ added in v0.0.2503
Click to show internal directories.
Click to hide internal directories.