rs_client

package
v0.0.0-...-a602de9 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Scrape       parseMethod = "scrape"
	ParseAmount  parseMethod = "parse_amount"
	RecipeDecode parseMethod = "decode_recipe"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

func New

func New(baseurl string) *Client

func (*Client) Call

func (c *Client) Call(ctx context.Context, text string, kind parseMethod, target interface{}) error

func (*Client) Send

func (c *Client) Send(ctx context.Context, route string, body, target interface{}) error

Jump to

Keyboard shortcuts

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