# Functions
AppendString - append string.
BuildLogFilename -.
BuildLogSubFilename -.
BytesToInt64 - bytes -> int64.
CheckAppServConfig - check app service config.
ClearLogs - clear logs.
Debug logs a debug message with the given fields.
Error logs a debug message with the given fields.
Fatal logs a message than calls os.Exit(1).
FindAppServConfig - find a app service config.
FormatCommand - format command, /start => start.
FormatFileSize - format size to string.
FormatNow - format time.
GetAppServType - strtype -> chatbotpb.ChatAppType.
GetCurTime - append string.
GetLogger - get zap.Logger.
ID2Str - id -> string.
ID642Str - id64 -> string.
IndexOfArrayString - find a string in []string.
Info logs a debug message with the given fields.
InitLogger - initializes a thread-safe singleton logger.
Int64ToBytes - int64 -> bytes.
JSON - It's like zap.String(name, str).
JSONFormat - json format string.
MD5Buffer - hash buffer.
NewMockITime creates a new mock instance.
ParseLogLevel - string to zapcore.Level.
RandString - random a string.
SetLogger - set zap.Logger, return last zap.Logger.
Str2ID - string -> id.
Str2ID64 - string -> id.
SyncLogger - sync logger.
Timestamp2Str - unix timestamp to string.
Warn logs a debug message with the given fields.
# Constants
BigMsgLength -if msg length >= BigMsgLength, the message is big message.
VERSION - charlescore version.
# Variables
AppServTypeString - appserv type string.
ErrCmdEmptyCmd - empty command.
ErrCmdInvalidServ - invalid serv in command.
ErrCmdInvalidServMgrText - invalid serv.MgrText in command.
ErrCmdItsNotMine - It's not mine.
ErrCmdNoCmd - no command.
ErrDuplicatePlugin - duplicate plugin.
ErrInvalidAppServToken - invalid appservtoken.
ErrInvalidAppServType - invalid appservtype.
ErrInvalidAppServUserName - invalid appservusername.
ErrInvalidFileProcessorMgr - invalid FileProcessorMgr.
ErrInvalidHashInStream - invalid hash in stream.
ErrInvalidLengthInStream - invalid length in stream.
ErrInvalidStartInStream - invalid start in stream.
ErrInvalidStream - invalid chatstream.
ErrInvalidTokenInAppServDB - invalid token in appserv database.
ErrInvalidTotalHashInStream - invalid totalHash in stream.
ErrInvalidTotalLengthInStream - invalid totalLength in stream.
ErrNoAppServDB - no appserv database.
ErrNoAppServToken - no app serv token.
ErrNoAppServType - no app serv type.
ErrNoAppServUserName - no app serv username.
ErrNoBindAddr - no bindaddr.
ErrNoConfig - no config.
ErrNoCoolQHttpServAddr - no servaddr.
ErrNoCoolQServURL - no coolq servurl.
ErrNoDBEngine - no dbengine.
ErrNoDBPath - no dbpath.
ErrNoPlugin - no plugin.
ErrNoServAddr - no servaddr.
ErrNoServAddrInClient - no servaddr in client.
ErrNoteInvalidName - invalid note name.
ErrNoTelegramToken - no telegramtoken.
ErrNoteNone - no note.
ErrNoToken - no token.
ErrNoTokenInClient - no token in client.
ErrNoUsername - no username.
ErrPluginInvalidServ - invalid serv in plugin.
ErrPluginInvalidServMgrText - invalid serv.MgrText in plugin.
ErrPluginItsNotMine - It's not mine.
ErrServInvalidErr - invalid error in serv.
ErrServInvalidToken - invalid token in serv.
ErrServInvalidUserInfo - invalid userinfo.
ErrStreamNoMsg - no chat in stream.
ErrUnkonow - unknow error.
ErrUserMgrNoUserData - no userdata.
# Structs
AppServConfig - app serv.
MockITime is a mock of ITime interface.
MockITimeMockRecorder is the mock recorder for MockITime.
Time - default Time.
# Interfaces
ITime - Time.