Versions in this module Expand all Collapse all v0 v0.0.2 May 10, 2020 v0.0.1 May 10, 2020 Changes in this version + const NOTIFYLEVEL_NOTIFYERROR + const NOTIFYLEVEL_NOTIFYNORMAL + const NOTIFYLEVEL_NOTIFYWARN + const ReportType_NOTIFY + const ReportType_REPORT + type NOTIFYLEVEL int32 + type Notify struct + func (_obj *Notify) Dispatch(ctx context.Context, _val interface{}, req *requestf.RequestPacket, ...) (err error) + func (_obj *Notify) GetNotifyInfo(StKey *NotifyKey, StInfo *NotifyInfo, _opt ...map[string]string) (ret int32, err error) + func (_obj *Notify) GetNotifyInfoWithContext(ctx context.Context, StKey *NotifyKey, StInfo *NotifyInfo, ...) (ret int32, err error) + func (_obj *Notify) NotifyServer(SServerName string, Level NOTIFYLEVEL, SMessage string, ...) (err error) + func (_obj *Notify) NotifyServerWithContext(ctx context.Context, SServerName string, Level NOTIFYLEVEL, SMessage string, ...) (err error) + func (_obj *Notify) ReportNotifyInfo(Info *ReportInfo, _opt ...map[string]string) (err error) + func (_obj *Notify) ReportNotifyInfoWithContext(ctx context.Context, Info *ReportInfo, _opt ...map[string]string) (err error) + func (_obj *Notify) ReportServer(SServerName string, SThreadId string, SMessage string, ...) (err error) + func (_obj *Notify) ReportServerWithContext(ctx context.Context, SServerName string, SThreadId string, SMessage string, ...) (err error) + func (_obj *Notify) SetServant(s m.Servant) + func (_obj *Notify) TarsSetTimeout(t int) + type NotifyInfo struct + Nextpage int32 + NotifyItems []NotifyItem + func (st *NotifyInfo) ReadBlock(_is *codec.Reader, tag byte, require bool) error + func (st *NotifyInfo) ReadFrom(_is *codec.Reader) error + func (st *NotifyInfo) WriteBlock(_os *codec.Buffer, tag byte) error + func (st *NotifyInfo) WriteTo(_os *codec.Buffer) error + type NotifyItem struct + ILevel int32 + SMessage string + SServerId string + STimeStamp string + func (st *NotifyItem) ReadBlock(_is *codec.Reader, tag byte, require bool) error + func (st *NotifyItem) ReadFrom(_is *codec.Reader) error + func (st *NotifyItem) WriteBlock(_os *codec.Buffer, tag byte) error + func (st *NotifyItem) WriteTo(_os *codec.Buffer) error + type NotifyKey struct + Ip string + Name string + Page int32 + func (st *NotifyKey) ReadBlock(_is *codec.Reader, tag byte, require bool) error + func (st *NotifyKey) ReadFrom(_is *codec.Reader) error + func (st *NotifyKey) WriteBlock(_os *codec.Buffer, tag byte) error + func (st *NotifyKey) WriteTo(_os *codec.Buffer) error + type ReportInfo struct + ELevel NOTIFYLEVEL + EType ReportType + SApp string + SContainer string + SMessage string + SServer string + SSet string + SThreadId string + func (st *ReportInfo) ReadBlock(_is *codec.Reader, tag byte, require bool) error + func (st *ReportInfo) ReadFrom(_is *codec.Reader) error + func (st *ReportInfo) WriteBlock(_os *codec.Buffer, tag byte) error + func (st *ReportInfo) WriteTo(_os *codec.Buffer) error + type ReportType int32