auto

package
v0.0.0-...-748bfe2 Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2025 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ContextKey = contextKeyType{}

contextKey is the key used for the context to store the logger.

Functions

This section is empty.

Types

type AutoClient

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

func New

func New(cfg Config, fn processFn) *AutoClient

func (*AutoClient) Run

func (ac *AutoClient) Run(ctx context.Context) error

type Config

type Config struct {
	MaxWorkers    int
	WorkerPrefix  string
	Group         string
	Stream        string
	BaseUrl       string
	SleepDuration time.Duration
}

Jump to

Keyboard shortcuts

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