advisory

package
v0.0.0-...-592ce1b Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2026 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Fetch

func Fetch(opts ...Option) error

Types

type Advisory

type Advisory struct {
	ID             string    `json:"id"`
	AdvisoryNumber string    `json:"advisoryNumber"`
	AdvisoryType   string    `json:"advisoryType"`
	Body           string    `json:"body"`
	CreatedOn      time.Time `json:"createdOn"`
	IsRemoved      bool      `json:"isRemoved"`
	LangCode       string    `json:"langCode"`
	ModifiedOn     time.Time `json:"modifiedOn"`
	PublishDate    time.Time `json:"publishDate"`
	Title          string    `json:"title"`
	Version        float64   `json:"version"`
}

type Option

type Option interface {
	// contains filtered or unexported methods
}

func WithDataURL

func WithDataURL(url string) Option

func WithDir

func WithDir(dir string) Option

func WithRetry

func WithRetry(retry int) Option

Jump to

Keyboard shortcuts

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