Versions in this module Expand all Collapse all v0 v0.1.0 Apr 19, 2026 v0.0.1 Apr 6, 2026 Changes in this version + var ErrForbidden = errors.New("forbidden") + var ErrNotFound = errors.New("service not found") + var ErrUnauthorized = errors.New("unauthorized") + type APIError struct + Message string + StatusCode int + func (e *APIError) Error() string + func (e *APIError) Unwrap() error + type Client struct + func New(pylonURL, token string) *Client + func (c *Client) ServiceByName(ctx context.Context, name string) (*Service, error) + func (c *Client) Services(ctx context.Context) ([]Service, error) + type Service struct + AdminOnly bool + BaseURL string + Connected bool + Display string + Label string + Name string + NotificationPath *string + Route string + SetupMode bool + UI bool + WSPaths []string