msglog

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 13, 2018 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const LogColorDefine = `` /* 749-byte string literal not displayed */

使用github.com/davyxu/golog的cellnet配色方案

Variables

This section is empty.

Functions

func BlockMessageLog

func BlockMessageLog(nameRule string) (err error, matchCount int)

func IsBlockedMessageByID

func IsBlockedMessageByID(msgid int) bool

func WriteRecvLogger

func WriteRecvLogger(log *golog.Logger, protocol string, ses cellnet.Session, msg interface{})

func WriteSendLogger

func WriteSendLogger(log *golog.Logger, protocol string, ses cellnet.Session, msg interface{})

Types

type PacketMessagePeeker

type PacketMessagePeeker interface {
	Message() interface{}
}

萃取消息中的消息

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL