Documentation
¶
Index ¶
- type Client
- type ConnectConfig
- type Connection
- type Database
- type Service
- func (s *Service) Disconnect() error
- func (s *Service) GetConnect() *Connection
- func (s *Service) GetDatabase() *Database
- func (s *Service) Init() error
- func (s *Service) SetConnection(connection *Connection)
- func (s *Service) SetDatabase(db *Database)
- func (s *Service) SetLogger(logger *ealogger.Entry)
- func (s *Service) SetTraceName(traceName string)
- type ServiceConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConnectConfig ¶
type Connection ¶
type Service ¶
type Service struct { IsLogging bool Conn *Connection Database *Database // contains filtered or unexported fields }
func NewService ¶
func NewService(c *ConnectConfig, sc *ServiceConfig) *Service
func (*Service) Disconnect ¶
func (*Service) GetConnect ¶
func (s *Service) GetConnect() *Connection
func (*Service) GetDatabase ¶
func (*Service) SetConnection ¶ added in v0.0.2
func (s *Service) SetConnection(connection *Connection)
func (*Service) SetDatabase ¶ added in v0.0.2
func (*Service) SetTraceName ¶ added in v0.0.2
Click to show internal directories.
Click to hide internal directories.