Skip to content

Latest commit

 

History

History
45 lines (27 loc) · 1.15 KB

README.md

File metadata and controls

45 lines (27 loc) · 1.15 KB

This is a Golang SDK for Alibaba Cloud Log Service.

API Reference :

Build Status Coverage Status

Install Instruction

Third Dependencies

go get github.com/cloudflare/golz4
go get github.com/golang/glog
go get github.com/gogo/protobuf/proto
go get github.com/stretchr/testify/suite

LogHub Golang SDK

go get github.com/galaxydi/go-loghub 

Example

Write and Read LogHub

loghub_sample.go

Use Index on LogHub (SLS)

index_sample.go

Create Config for Logtail

log_config_sample.go

Create Machine Group for Logtail

machine_group_sample.go