pull/218/head
wangchuxiao 3 years ago
parent 58cea3e947
commit f70a20f740

@ -1,7 +1,6 @@
package msg package msg
import ( import (
"Open_IM/pkg/common/db"
"Open_IM/pkg/common/log" "Open_IM/pkg/common/log"
commonPb "Open_IM/pkg/proto/sdk_ws" commonPb "Open_IM/pkg/proto/sdk_ws"
"Open_IM/pkg/utils" "Open_IM/pkg/utils"

@ -22,7 +22,7 @@ var Config config
type callBackConfig struct { type callBackConfig struct {
Enable bool `yaml:"enable"` Enable bool `yaml:"enable"`
CallbackTimeOut int `yaml:"callbackTimeOut"` CallbackTimeOut int `yaml:"callbackTimeOut"`
CallbackFailedContinue bool `callbackFailedContinue` CallbackFailedContinue bool `yaml:"callbackFailedContinue"`
} }
type config struct { type config struct {

@ -91,7 +91,7 @@ const (
IntentionalError = 10007 IntentionalError = 10007
) )
func (e *ErrInfo) Error() string { func (e ErrInfo) Error() string {
return e.ErrMsg return e.ErrMsg
} }

Loading…
Cancel
Save