tcpserve

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2023 License: GPL-2.0 Imports: 18 Imported by: 0

Documentation

Overview

*

  • Copyright 2015 @ 56x.net.
  • name : tcp_coder
  • author : jarryliu
  • date : 2015-11-23 18:59
  • description :
  • history :

*

  • Copyright 2015 @ 56x.net.
  • name : tcp_member
  • author : jarryliu
  • date : 2015-11-24 11:49
  • description :
  • history :

*

  • Copyright 2015 @ 56x.net.
  • name : tcp_observer
  • author : jarryliu
  • date : 2016-04-04 11:17
  • description :
  • history :

*

  • Copyright 2015 @ 56x.net.
  • name : tcpserve.go
  • author : jarryliu
  • date : 2015-11-23 14:19
  • description :
  • history :

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AccountNotifyJob

func AccountNotifyJob(s *nc.SocketServer)

note: 业务逻辑上可能会出现通知多次的情况

func GetMemberSummary

func GetMemberSummary(memberId int64, updateTime int) *proto.SComplexMember

get summary of member,if dbGet will get summary from database.

func Handle

func Handle(cmd string, handler nc.CmdFunc)

Add socket command handler

func MemberSummaryNotifyJob

func MemberSummaryNotifyJob(s *nc.SocketServer)

func NewServe

func NewServe(output bool) *nc.SocketServer

Types

This section is empty.

Jump to

Keyboard shortcuts

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