log and scripts optimization

This commit is contained in:
Gordon
2021-10-11 18:18:50 +08:00
parent a9bd657543
commit 7d7818bc38
16 changed files with 113 additions and 66 deletions

View File

@@ -24,6 +24,7 @@ type friendServer struct {
}
func NewFriendServer(port int) *friendServer {
log.NewPrivateLog("friend")
return &friendServer{
rpcPort: port,
rpcRegisterName: config.Config.RpcRegisterName.OpenImFriendName,