ssl

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2025 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CreateSSL = "create_ssl"
)
View Source
const (
	ListSSLs = "list_ssls"
)

Variables

View Source
var CreateSSLTool = mcp.NewTool(
	CreateSSL,
	mcp.WithDescription("create ssl"),
	mcp.WithString("domain", mcp.Description("domain"), mcp.Required()),
	mcp.WithString("provider", mcp.Description("provider support dnsAccount,http"), mcp.Required(), mcp.DefaultString("dnsAccount")),
	mcp.WithString("dnsAccount", mcp.Description("dnsAccount"), mcp.DefaultString("")),
)
View Source
var ListSSLsTool = mcp.NewTool(
	ListSSLs,
	mcp.WithDescription("list ssls"),
)

Functions

func CreateSSLHandle

func CreateSSLHandle(ctx context.Context, request mcp.CallToolRequest) (*mcp.CallToolResult, error)

func ListSSLHandle

func ListSSLHandle(ctx context.Context, request mcp.CallToolRequest) (*mcp.CallToolResult, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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