automute

package
v0.0.0-...-51444de Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2025 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type List

type List struct {
	CheckResultExpiration time.Duration
	ListRefreshInterval   time.Duration
	Callback              func(ctx context.Context, client *xrpc.Client, did string) (bool, error)
	// contains filtered or unexported fields
}

func New

func New(url *url.URL, authclient *xrpc.Client, listServer *listserver.Server) *List

func (*List) Check

func (l *List) Check(did string)

func (*List) Run

func (l *List) Run(ctx context.Context) error

type TransientError

type TransientError struct {
	Err error
}

func (*TransientError) Error

func (err *TransientError) Error() string

func (*TransientError) Unwrap

func (err *TransientError) Unwrap() error

Jump to

Keyboard shortcuts

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