spinwick

package
v0.4.4 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2025 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Request

type Request struct {
	InstallationID string
	Error          error
	ReportError    bool
	Aborted        bool
}

Request tracks information about a given SpinWick request.

func (*Request) IntentionalAbort

func (r *Request) IntentionalAbort() *Request

IntentionalAbort marks the request as being aborted intentionally.

func (*Request) ShouldReportError

func (r *Request) ShouldReportError() *Request

ShouldReportError marks the request's error to be reported.

func (*Request) WithError

func (r *Request) WithError(err error) *Request

WithError updates the error of a Request.

func (*Request) WithInstallationID

func (r *Request) WithInstallationID(id string) *Request

WithInstallationID updates the installation ID of a Request.

Jump to

Keyboard shortcuts

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