Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OptionFunc ¶
type OptionFunc func(*Option)
func SetLogstore ¶
func SetLogstore(name string) OptionFunc
func SetProject ¶
func SetProject(name string) OptionFunc
func SetSource ¶
func SetSource(name string) OptionFunc
func SetTopic ¶
func SetTopic(name string) OptionFunc
type SLSHook ¶
type SLSHook struct {
// contains filtered or unexported fields
}
func NewSLSHook ¶
func NewSLSHook(accessKeyId, accessKeySecret, endpoint, allowLogLevel string, opts ...OptionFunc) *SLSHook
Click to show internal directories.
Click to hide internal directories.