Documentation
¶
Overview ¶
Package logger gives access to the parameters of anonymizing traffic for subsequent logging.
Index ¶
Constants ¶
View Source
const (
CLogFinal = CLogErroDatabaseSet
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ILogBuilder ¶
type ILogBuilder interface { Build() ILogGetter WithType(ILogType) ILogBuilder WithSize(int) ILogBuilder WithProof(uint64) ILogBuilder WithHash([]byte) ILogBuilder WithConn(string) ILogBuilder WithPubKey(asymmetric.IPubKey) ILogBuilder }
func NewLogBuilder ¶
func NewLogBuilder(pService string) ILogBuilder
type ILogGetter ¶
type ILogType ¶
type ILogType uint8
const ( // Base (can be in >1 more state) CLogBaseBroadcast ILogType = iota + 1 CLogBaseEnqueueRequest CLogBaseEnqueueResponse CLogBaseGetResponse // INFO CLogInfoExist CLogInfoUndecryptable CLogInfoWithoutResponse // WARN CLogWarnMessageNull CLogWarnPayloadNull CLogWarnUnknownRoute CLogWarnIncorrectResponse // ERRO CLogErroDatabaseGet CLogErroDatabaseSet )
Click to show internal directories.
Click to hide internal directories.