Documentation
¶
Index ¶
Constants ¶
View Source
const (
DefaultBaseURL = "https://appledevicepolicy.tools/api"
)
API Base URL
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client represents the core HTTP client for Microsoft Mac Apps API
func NewTransport ¶
NewTransport creates a new HTTP transport for Microsoft Mac Apps API
func (*Client) Get ¶
func (c *Client) Get(ctx context.Context, path string, queryParams map[string]string, headers map[string]string, result any) error
Get executes a GET request
func (*Client) GetHTTPClient ¶
GetHTTPClient returns the underlying HTTP client for testing purposes
Click to show internal directories.
Click to hide internal directories.