Files
juwan-backend/app/chat/rpc/internal/svc/serviceContext.go
2026-04-24 21:02:07 +08:00

16 lines
266 B
Go

package svc
import "juwan-backend/app/chat/rpc/internal/config"
type ServiceContext struct {
Config config.Config
Store *ChatStore
}
func NewServiceContext(c config.Config) *ServiceContext {
return &ServiceContext{
Config: c,
Store: NewChatStore(),
}
}