Documentation
¶
Index ¶
- type DstFeedbackIssue
- type DstFeedbackIssueInsertData
- type DstIssueBanch
- type DstIssueBanchInsertData
- type DstUser
- type DstUserInsertData
- type MySQL
- func (m *MySQL) Close() error
- func (m *MySQL) DstFeedbackIssuesDeleteAll() error
- func (m *MySQL) DstFeedbackIssuesGet() ([]DstFeedbackIssue, error)
- func (m *MySQL) DstFeedbackIssuesSave(issues []DstFeedbackIssueInsertData) error
- func (m *MySQL) DstIssuesBanchDeleteAll() error
- func (m *MySQL) DstIssuesBanchGet() ([]DstIssueBanch, error)
- func (m *MySQL) DstIssuesBanchSave(issues []DstIssueBanchInsertData) error
- func (m *MySQL) DstUsersDeleteAll() error
- func (m *MySQL) DstUsersGet() ([]DstUser, error)
- func (m *MySQL) DstUsersSave(users []DstUserInsertData) error
- func (m *MySQL) SrcIDsGet() ([]SrcID, error)
- func (m *MySQL) SrcIssuesGet() ([]SrcIssue, error)
- type Settings
- type SrcID
- type SrcIssue
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DstFeedbackIssue ¶
type DstFeedbackIssue struct { TgUserID int64 `gorm:"column:tlgrm_userid"` RdmnIssueID int64 `gorm:"column:rdmn_issue_id"` }
func (DstFeedbackIssue) TableName ¶
func (DstFeedbackIssue) TableName() string
type DstFeedbackIssueInsertData ¶
type DstFeedbackIssueInsertData struct { TgUserID int64 `gorm:"column:tlgrm_userid"` RdmnIssueID int64 `gorm:"column:rdmn_issue_id"` }
func (DstFeedbackIssueInsertData) TableName ¶
func (DstFeedbackIssueInsertData) TableName() string
type DstIssueBanch ¶
type DstIssueBanch struct { TgChatID int64 `gorm:"column:tg_chat_id"` TgMessageID int64 `gorm:"column:tg_message_id"` RdmnIssueID int64 `gorm:"column:rdmn_issue_id"` }
func (DstIssueBanch) TableName ¶
func (DstIssueBanch) TableName() string
type DstIssueBanchInsertData ¶
type DstIssueBanchInsertData struct { TgChatID int64 `gorm:"column:tg_chat_id"` TgMessageID int64 `gorm:"column:tg_message_id"` RdmnIssueID int64 `gorm:"column:rdmn_issue_id"` }
func (DstIssueBanchInsertData) TableName ¶
func (DstIssueBanchInsertData) TableName() string
type DstUser ¶
type DstUserInsertData ¶
type DstUserInsertData struct { TgUserID int64 `gorm:"column:tlgrm_userid"` RdmnUserID int64 `gorm:"column:rdmn_userid"` Lang string `gorm:"column:lang"` }
func (DstUserInsertData) TableName ¶
func (DstUserInsertData) TableName() string
type MySQL ¶
type MySQL struct {
// contains filtered or unexported fields
}
MySQL it is a MySQL module context structure
func (*MySQL) DstFeedbackIssuesDeleteAll ¶
func (*MySQL) DstFeedbackIssuesGet ¶
func (m *MySQL) DstFeedbackIssuesGet() ([]DstFeedbackIssue, error)
func (*MySQL) DstFeedbackIssuesSave ¶
func (m *MySQL) DstFeedbackIssuesSave(issues []DstFeedbackIssueInsertData) error
func (*MySQL) DstIssuesBanchDeleteAll ¶
func (*MySQL) DstIssuesBanchGet ¶
func (m *MySQL) DstIssuesBanchGet() ([]DstIssueBanch, error)
func (*MySQL) DstIssuesBanchSave ¶
func (m *MySQL) DstIssuesBanchSave(issues []DstIssueBanchInsertData) error
func (*MySQL) DstUsersDeleteAll ¶
func (*MySQL) DstUsersGet ¶
func (*MySQL) DstUsersSave ¶
func (m *MySQL) DstUsersSave(users []DstUserInsertData) error
func (*MySQL) SrcIssuesGet ¶
Click to show internal directories.
Click to hide internal directories.