servicecontext.go 214 B

12345678910111213
  1. package svc
  2. import "ylink/core/auth/rpc/internal/config"
  3. type ServiceContext struct {
  4. Config config.Config
  5. }
  6. func NewServiceContext(c config.Config) *ServiceContext {
  7. return &ServiceContext{
  8. Config: c,
  9. }
  10. }