Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BarkLog ¶
type BarkLog struct {
Id int64 `db:"id" json:"id"`
LogTime time.Time `db:"log_time" json:"logTime"`
LogLevel string `db:"log_level" json:"logLevel"`
ServiceName string `db:"service_name" json:"serviceName"`
SessionName string `db:"session_name" json:"sessionName"`
Code string `db:"code" json:"code"`
Message string `db:"msg" json:"msg"`
MoreData json.RawMessage `db:"more_data" json:"moreData"`
}
BarkLog is a struct representing a log in Bark
func (BarkLog) ValidateForInsert ¶
type BarkLogDao ¶
type BarkLogDao struct{}
func NewBarkLogDao ¶
func NewBarkLogDao() *BarkLogDao
func (*BarkLogDao) Insert ¶
func (bld *BarkLogDao) Insert(l BarkLog) error
Insert inserts a Bark log in the database
func (*BarkLogDao) InsertBatch ¶
func (bld *BarkLogDao) InsertBatch(l []BarkLog) error
func (*BarkLogDao) InsertServerStartedLog ¶
func (bld *BarkLogDao) InsertServerStartedLog() error
Click to show internal directories.
Click to hide internal directories.