Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ILogBuilder ¶
type ILogBuilder interface { Get(ILogType) string WithSize(int) ILogBuilder WithProof(uint64) ILogBuilder WithHash([]byte) ILogBuilder WithConn(conn.IConn) ILogBuilder WithPubKey(asymmetric.IPubKey) ILogBuilder }
func NewLogBuilder ¶
func NewLogBuilder(pService string) ILogBuilder
type ILogType ¶
type ILogType string
const ( // Base CLogBaseBroadcast ILogType = "BRDCS" CLogBaseMessageType ILogType = "MTYPE" CLogBaseEnqueueRequest ILogType = "ENQRQ" CLogBaseEnqueueResponse ILogType = "ENQRS" CLogBaseGetResponse ILogType = "GETRS" // INFO CLogInfoExist ILogType = "EXIST" CLogInfoUndecryptable ILogType = "UNDEC" CLogInfoWithoutResponse ILogType = "WTHRS" // WARN CLogWarnMessageNull ILogType = "MNULL" CLogWarnNotFriend ILogType = "NTFRN" CLogWarnNotConnection ILogType = "NTCON" CLogWarnUnknownRoute ILogType = "UNKRT" CLogWarnIncorrectResponse ILogType = "ICRSP" // ERRO CLogErroDatabaseGet ILogType = "DBGET" CLogErroDatabaseSet ILogType = "DBSET" CLogErroEncryptPayload ILogType = "ENCPL" )
Click to show internal directories.
Click to hide internal directories.