event.go 217 字节 原文件 审查 历史 永久链接 1 2 3 4 5 6 package event func InitEventCenter() { //eda.RegisterSubscribe(&devent.AccessTokenEvent{}, &subscriber.AuthCacheSubscribe{}) //eda.RegisterSubscribe(&devent.RefreshTokenEvent{}, &subscriber.AuthCacheSubscribe{}) }