service.go 284 B

1234567891011121314151617181920212223
  1. package service
  2. import (
  3. "go-common/app/interface/live/app-room/conf"
  4. )
  5. // Service struct
  6. type Service struct {
  7. c *conf.Config
  8. }
  9. // New init
  10. func New(c *conf.Config) (s *Service) {
  11. s = &Service{
  12. c: c,
  13. }
  14. return s
  15. }
  16. // Close -
  17. func (s *Service) Close() error {
  18. return nil
  19. }