Documentation
¶
Overview ¶
Package tenant provides multi-tenant protocol library isolation.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuditEntry ¶
type AuditEntry struct {
TenantID string `json:"tenant_id"`
Action string `json:"action"`
Resource string `json:"resource"`
}
AuditEntry represents an audit log entry.
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
Manager manages multi-tenant protocol libraries.
func (*Manager) AddProtocol ¶
AddProtocol adds a protocol to a tenant.
func (*Manager) CreateTenant ¶
CreateTenant creates a new tenant.
func (*Manager) GetAuditLog ¶
func (m *Manager) GetAuditLog(tenantID string) []AuditEntry
GetAuditLog returns audit entries for a tenant.
Click to show internal directories.
Click to hide internal directories.