- Update go.mod module path - Update all import references - Update README install and import examples Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
11 lines
311 B
Go
11 lines
311 B
Go
package elydora
|
|
|
|
// QueryAudit queries the audit log with the given parameters.
|
|
func (c *Client) QueryAudit(params *AuditQueryRequest) (*AuditQueryResponse, error) {
|
|
var result AuditQueryResponse
|
|
if err := c.doPost("/v1/audit/query", params, &result); err != nil {
|
|
return nil, err
|
|
}
|
|
return &result, nil
|
|
}
|