features

package
v2.19.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 3, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AsyncFeature

type AsyncFeature struct{}

func (*AsyncFeature) Async

func (*AsyncFeature) Async() bool

type Asyncable

type Asyncable interface {
	Async() bool
}

type Expirable

type Expirable interface {
	Expiration() time.Duration
}

type ExpireFeature

type ExpireFeature struct {
	// contains filtered or unexported fields
}

func NewExpireFeature

func NewExpireFeature(expiration time.Duration) *ExpireFeature

func (*ExpireFeature) Expiration

func (e *ExpireFeature) Expiration() time.Duration

type Named

type Named interface {
	Name() string
}

type NamedFeature

type NamedFeature struct {
	// contains filtered or unexported fields
}

func NewNamedFeature

func NewNamedFeature(name string) *NamedFeature

func (*NamedFeature) Name

func (n *NamedFeature) Name() string

type Retriable

type Retriable interface {
	Retries() int
}

type RetryFeature

type RetryFeature struct {
	// contains filtered or unexported fields
}

func NewRetryFeature

func NewRetryFeature(retries int) *RetryFeature

func (*RetryFeature) Retries

func (r *RetryFeature) Retries() int

type Slug added in v2.11.0

type Slug interface {
	Slug() string
}

type SlugFeature added in v2.11.0

type SlugFeature struct {
	// contains filtered or unexported fields
}

func NewSlugFeature added in v2.11.0

func NewSlugFeature(slug string) *SlugFeature

func (*SlugFeature) Slug added in v2.11.0

func (n *SlugFeature) Slug() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL