Documentation
¶
Index ¶
Constants ¶
View Source
const ( DatabaseFile = "log_record.db" DatabaseAuthKeyBucket = "auth_key" DatabseLogBucket = "logs" )
View Source
const ( ReviewStatesUnfinish = iota ReviewStatesFinished )
Variables ¶
This section is empty.
Functions ¶
func LogFinishReview ¶ added in v1.2.1
func SetAuthKey ¶
Types ¶
type FullLogRecord ¶ added in v1.2.1
type FullLogRecord struct {
LogKey
LogPayload
}
type LogKey ¶ added in v1.2.1
type LogPayload ¶ added in v1.2.1
type LogPayload struct {
UserRequest string `json:"user_request"`
ErrorInfo string `json:"error_info"`
}
func (*LogPayload) Marshal ¶ added in v1.2.1
func (l *LogPayload) Marshal(io protocol.IO)
Click to show internal directories.
Click to hide internal directories.