Documentation
¶
Index ¶
Constants ¶
View Source
const (
UserAgentName = "caddy-crowdsec-admin"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CheckRequest ¶
type CheckResponse ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func NewClient ¶
func NewClient(cfg ClientConfig) (*Client, error)
func (*Client) Health ¶
func (c *Client) Health() (*HealthResponse, error)
func (*Client) Info ¶
func (c *Client) Info() (*InfoResponse, error)
func (*Client) Ping ¶
func (c *Client) Ping() (*PingResponse, error)
type ClientConfig ¶
type HealthResponse ¶
type HealthResponse struct {
Ok bool
}
type InfoResponse ¶
type PingResponse ¶
type PingResponse struct {
Ok bool
}
Click to show internal directories.
Click to hide internal directories.