14 lines
336 B
Go
14 lines
336 B
Go
|
package controller
|
||
|
|
||
|
import (
|
||
|
"fmt"
|
||
|
websocketServer "github.com/fonchain_enterprise/fonchain-main/pkg/service/websocket/server"
|
||
|
)
|
||
|
|
||
|
func SimilarResult(client *websocketServer.Client, cmd string, message []byte) (code uint32, msg string, data interface{}) {
|
||
|
fmt.Println(client)
|
||
|
fmt.Println(cmd)
|
||
|
fmt.Println(string(message))
|
||
|
return
|
||
|
}
|