Documentation ¶
Index ¶
- type AdapterManager
- type DomainIdent
- type Notz
- func (m *Notz) ApplyAdapter(tenantId string, id int64, data *entities.TenantDomain)
- func (m *Notz) ApplyTargetHook(tenantId string, id int64, data *entities.TargetHook)
- func (m *Notz) IsAllowed(tenantId, host string) bool
- func (m *Notz) ListAdapters() []string
- func (m *Notz) PreformEditorAction(ctx httpx.AdapterEditorContext) (any, error)
- func (m *Notz) Reset(tenantId string, domainId int64)
- func (m *Notz) Serve(ctx *gin.Context)
- func (m *Notz) ServeEditorFile(tenantId, file string, did int64, ctx *gin.Context)
- func (m *Notz) ServePublic(file string, c *gin.Context)
- type NotzOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AdapterManager ¶
type AdapterManager struct {
// contains filtered or unexported fields
}
func (*AdapterManager) Handle ¶
func (am *AdapterManager) Handle(tenantId, host string, ctx *gin.Context)
func (*AdapterManager) ListAdapters ¶
func (am *AdapterManager) ListAdapters() []string
type DomainIdent ¶
type DomainIdent struct {
// contains filtered or unexported fields
}
type Notz ¶
type Notz struct {
// contains filtered or unexported fields
}
func New ¶
func New(opts NotzOptions) *Notz
func (*Notz) ApplyAdapter ¶
func (m *Notz) ApplyAdapter(tenantId string, id int64, data *entities.TenantDomain)
func (*Notz) ApplyTargetHook ¶
func (m *Notz) ApplyTargetHook(tenantId string, id int64, data *entities.TargetHook)
func (*Notz) ListAdapters ¶
func (*Notz) PreformEditorAction ¶
func (m *Notz) PreformEditorAction(ctx httpx.AdapterEditorContext) (any, error)
func (*Notz) ServeEditorFile ¶
Click to show internal directories.
Click to hide internal directories.