qyweixin

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Report

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

func NewReport

func NewReport(token string, opts ...ReportFunc) *Report

func (Report) Report

func (r Report) Report(ctx context.Context, worker, content string) error

type ReportFunc

type ReportFunc func(report *Report)

func WithLimiter

func WithLimiter(limiter *rate.Limiter) ReportFunc

func WithTimeout

func WithTimeout(duration time.Duration) ReportFunc

Jump to

Keyboard shortcuts

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