sls

package
v1.0.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 30, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Load

func Load(config *recconf.RecommendConfig)

Types

type Callback

type Callback struct {
}

func (*Callback) Fail

func (callback *Callback) Fail(result *producer.Result)

func (*Callback) Success

func (callback *Callback) Success(result *producer.Result)

type SlsClient

type SlsClient struct {
	Client   alisls.ClientInterface
	Producer *producer.Producer
	// contains filtered or unexported fields
}

func GetSlsClient

func GetSlsClient(name string) (*SlsClient, error)

func NewSlsClient

func NewSlsClient(accessKeyId, accessKeySecret, endpoint, projectName, logstoreName string) *SlsClient

func (*SlsClient) Init

func (s *SlsClient) Init()

func (*SlsClient) SendLog

func (s *SlsClient) SendLog(data map[string]string)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL