apisix

package
v0.3.18 Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2025 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

func NewClient

func NewClient(serverUrl, apiKey string) *Client

func (*Client) UpdateSSL

func (c *Client) UpdateSSL(req *UpdateSSLRequest) (*UpdateSSLResponse, error)

func (*Client) WithTLSConfig

func (c *Client) WithTLSConfig(config *tls.Config) *Client

func (*Client) WithTimeout

func (c *Client) WithTimeout(timeout time.Duration) *Client

type UpdateSSLRequest

type UpdateSSLRequest struct {
	ID     string    `json:"-"`
	Cert   *string   `json:"cert,omitempty"`
	Key    *string   `json:"key,omitempty"`
	SNIs   *[]string `json:"snis,omitempty"`
	Type   *string   `json:"type,omitempty"`
	Status *int32    `json:"status,omitempty"`
}

type UpdateSSLResponse

type UpdateSSLResponse struct{}

Jump to

Keyboard shortcuts

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