Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Init ¶
func Init(dsn string)
Init configures the DefaultClient for the provided dsn. Errors will be logged..
func SetupClient ¶
SetupClient configures the DefaultClient for t.
Types ¶
type Client ¶
type Client struct { // Target to send Events to. Target *auditpb.Target // Audit communicates with the AuditAPI. Audit auditpb.AuditAPIClient // Log prints informational messages. Log *zap.SugaredLogger }
Client sends events to the Audit API.
var ( // DefaultClient for sending Events. DefaultClient *Client )
Click to show internal directories.
Click to hide internal directories.