logging
parent
08be688daa
commit
647e3be766
|
@ -57,6 +57,7 @@ export default class CSCLI {
|
|||
}
|
||||
|
||||
public async unixHandle(socket: net.Socket, data: Buffer) {
|
||||
console.log(data.toString());
|
||||
const args = data.toString().trim().split('$');
|
||||
const parsed: { Username: string, Type: string, Message?: string, Data?: any, HMAC: string } = JSON.parse(args[0]);
|
||||
// FINISH VERIFICATION CHECKS
|
||||
|
|
|
@ -59,13 +59,6 @@ func main() {
|
|||
fmt.Printf("Connected to Redis [GO]\n")
|
||||
HandleError(err, 1)
|
||||
|
||||
/*for {
|
||||
fmt.Printf("Calling handler func [GO]\n")
|
||||
if status == false {
|
||||
handler(*config)
|
||||
time.Sleep(1000000 * time.Millisecond)
|
||||
}
|
||||
}*/
|
||||
handler(*config)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue