asynq_auxiliary

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2023 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 ClientOption

type ClientOption func(*ClientSettings)

func WithClientMarshalBinary

func WithClientMarshalBinary(f func(any) ([]byte, error)) ClientOption

type ClientSettings

type ClientSettings struct {
	MarshalBinary func(any) ([]byte, error)
}

func NewClientSettings

func NewClientSettings() *ClientSettings

type HandlerOption

type HandlerOption func(*HandlerSettings)

func WithHandlerUnmarshalBinary

func WithHandlerUnmarshalBinary(f func([]byte, any) error) HandlerOption

type HandlerSettings

type HandlerSettings struct {
	// UnmarshalBinary parses the binary data and stores the result
	// in the value pointed to by v.
	UnmarshalBinary func([]byte, any) error
}

func NewHandlerSettings

func NewHandlerSettings() *HandlerSettings

Jump to

Keyboard shortcuts

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