타입 변경
This commit is contained in:
@ -31,7 +31,7 @@ type channelConfig struct {
|
|||||||
|
|
||||||
type chatConfig struct {
|
type chatConfig struct {
|
||||||
DefaultCapacity int64 `json:"default_capacity"`
|
DefaultCapacity int64 `json:"default_capacity"`
|
||||||
Channels map[string]channelConfig `json:"channels"`
|
Channels map[string]*channelConfig `json:"channels"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type groupChat struct {
|
type groupChat struct {
|
||||||
@ -148,7 +148,7 @@ func (gc *groupChat) ClientMessageReceived(sender *wshandler.Sender, mt wshandle
|
|||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
// 풀방
|
// 풀방
|
||||||
logger.Println("chatting channel is full :", chanid, size)
|
logger.Println("chatting channel is full :", chanid, size, cfg.Capacity)
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
logger.Println("chatting channel not valid :", chanid)
|
logger.Println("chatting channel not valid :", chanid)
|
||||||
|
|||||||
Reference in New Issue
Block a user