models

package
v0.8.0-beta Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 30, 2025 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Inbox

type Inbox struct {
	ID          int             `db:"id" json:"id"`
	CreatedAt   time.Time       `db:"created_at" json:"created_at"`
	UpdatedAt   time.Time       `db:"updated_at" json:"updated_at"`
	Name        string          `db:"name" json:"name"`
	Channel     string          `db:"channel" json:"channel"`
	Enabled     bool            `db:"enabled" json:"enabled"`
	CSATEnabled bool            `db:"csat_enabled" json:"csat_enabled"`
	From        string          `db:"from" json:"from"`
	Config      json.RawMessage `db:"config" json:"config"`
}

Inbox represents a inbox record in DB.

func (*Inbox) ClearPasswords

func (m *Inbox) ClearPasswords() error

ClearPasswords masks all config passwords

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL