Documentation ¶
Index ¶
- type ServiceImpl
- func (s *ServiceImpl) CacheAddress() string
- func (s *ServiceImpl) Close() error
- func (s *ServiceImpl) DatabaseDsn() string
- func (s *ServiceImpl) DebugPprof() bool
- func (s *ServiceImpl) Environment() string
- func (s *ServiceImpl) Init(ctx context.Context) error
- func (s *ServiceImpl) Service() string
- func (s *ServiceImpl) ServiceManager() services.ServiceManager
- func (s *ServiceImpl) Version() string
- func (s *ServiceImpl) WithServiceManager(c services.ServiceManager) services.Environment
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ServiceImpl ¶
type ServiceImpl struct {
// contains filtered or unexported fields
}
Environment this object keep the all variables environment
func New ¶
func New() *ServiceImpl
func (*ServiceImpl) CacheAddress ¶
func (s *ServiceImpl) CacheAddress() string
func (*ServiceImpl) Close ¶
func (s *ServiceImpl) Close() error
func (*ServiceImpl) DatabaseDsn ¶
func (s *ServiceImpl) DatabaseDsn() string
func (*ServiceImpl) DebugPprof ¶
func (s *ServiceImpl) DebugPprof() bool
func (*ServiceImpl) Environment ¶
func (s *ServiceImpl) Environment() string
func (*ServiceImpl) Service ¶
func (s *ServiceImpl) Service() string
func (*ServiceImpl) ServiceManager ¶
func (s *ServiceImpl) ServiceManager() services.ServiceManager
func (*ServiceImpl) Version ¶
func (s *ServiceImpl) Version() string
func (*ServiceImpl) WithServiceManager ¶
func (s *ServiceImpl) WithServiceManager(c services.ServiceManager) services.Environment
Click to show internal directories.
Click to hide internal directories.