Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Option ¶
type Option func(*options)
func WithParamReport ¶
func WithParamReport() Option
func WithPeerAddr ¶
WithPeerAddr set the peer address to report
func WithQueryReport ¶
func WithQueryReport() Option
func WithSqlDBType ¶
WithSqlDBType set dbType option, dbType is used for parsing dsn string to peer address and setting componentID, if DB type is not support in DBType list, please use WithPeerAddr to set peer address manually
type SkyWalking ¶
type SkyWalking struct {
// contains filtered or unexported fields
}
func (*SkyWalking) AfterCallback ¶
func (s *SkyWalking) AfterCallback() func(db *gorm.DB)
func (*SkyWalking) BeforeCallback ¶
func (s *SkyWalking) BeforeCallback(operation string) func(db *gorm.DB)
func (*SkyWalking) Initialize ¶
func (s *SkyWalking) Initialize(db *gorm.DB) (err error)
func (*SkyWalking) Name ¶
func (s *SkyWalking) Name() string
Click to show internal directories.
Click to hide internal directories.