get_message_config

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2026 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 Config

type Config struct {
	Format          Format
	MetadataHeaders []string
	FetchOptions    []fetch_config.Option
}

func New

func New(options ...Option) *Config

type Format

type Format string
const (
	FormatMinimal  Format = "minimal"
	FormatFull     Format = "full"
	FormatRaw      Format = "raw"
	FormatMetadata Format = "metadata"
)

type Option

type Option func(*Config)

func WithFetchOptions

func WithFetchOptions(fetchOptions ...fetch_config.Option) Option

func WithFormat

func WithFormat(format Format) Option

func WithMetadataHeaders

func WithMetadataHeaders(metadataHeaders ...string) Option

Jump to

Keyboard shortcuts

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