mirror of
https://shylinux.com/x/icebergs
synced 2025-04-26 17:44:05 +08:00
action opt text some
This commit is contained in:
parent
073851ee66
commit
06e6de20c7
@ -114,7 +114,7 @@ func _space_send(m *ice.Message, space string, arg ...string) {
|
||||
return nil
|
||||
})
|
||||
}
|
||||
}) == nil, "not found %s", space)
|
||||
}) == nil, ice.ErrNotFound, space)
|
||||
}
|
||||
|
||||
func _space_echo(msg *ice.Message, source, target []string, c *websocket.Conn, name string) {
|
||||
|
2
logs.go
2
logs.go
@ -10,7 +10,9 @@ import (
|
||||
|
||||
var ErrWarn = "warn: "
|
||||
var ErrNotAuth = "not auth: "
|
||||
var ErrNotJoin = "not join: "
|
||||
var ErrNotFound = "not found: "
|
||||
var ErrNotEnough = "not enough: "
|
||||
|
||||
func (m *Message) log(level string, str string, arg ...interface{}) *Message {
|
||||
if str = strings.TrimSpace(kit.Format(str, arg...)); Log != nil {
|
||||
|
Loading…
x
Reference in New Issue
Block a user