types

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2025 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Arg

type Arg struct {
	Name         string `json:"name"`
	Description  string `json:"description"`
	Required     bool   `json:"required"`
	DefaultValue any    `json:"defaultValue"`
	Type         string `json:"type"`
}

type Request

type Request struct {
	Host        string            `json:"host"`
	Endpoint    string            `json:"endpoint"`
	Method      string            `json:"method"`
	Secure      bool              `json:"secure"`
	Headers     map[string]string `json:"headers"`
	PathParams  []string          `json:"pathParams"`
	QueryParams []string          `json:"queryParams"`
	Body        string            `json:"body,omitempty"`
}

type Response

type Response struct {
	StatusCode int    `json:"status_code"`
	Body       string `json:"body"`
}

type Tool

type Tool struct {
	Name        string  `json:"name"`
	Description string  `json:"description"`
	Args        []Arg   `json:"args"`
	Request     Request `json:"request"`
}

Jump to

Keyboard shortcuts

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