rkmcp

package module
v0.0.0-...-8a938de Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2026 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrX402NotConfigured = errors.New("x402 client was not configured")
)

Functions

This section is empty.

Types

type Client

type Client interface {
	Close() error

	SearchProductRecalls(ctx context.Context, query string, limit int) ([]Recall, error)
}

func NewClient

func NewClient(config Config) (Client, error)

type Config

type Config struct {
	ServerURL string
	Timeout   time.Duration

	EVMPrivateKey string
}

type Recall

type Recall struct {
	ID     string `json:"id"`
	Source string `json:"source"`

	Title       string `json:"title"`
	Description string `json:"description"`
	URL         string `json:"url"`

	PublishedOn time.Time `json:"publishedOn"`
}

type Recalls

type Recalls struct {
	Recalls []Recall `json:"recalls"`
}

Jump to

Keyboard shortcuts

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