Skip to content

bailaohe/aliyun-log-go-sdk

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is a Golang SDK for Alibaba Cloud Log Service.

API Reference :

Build Status Coverage Status

Install Instruction

LogHub Golang SDK

go get github.com/aliyun/aliyun-log-go-sdk

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

Create LogHub Consumer for realtime consumption

log_dump_consumer.go

For developer

Update log protobuf

protoc -I=. -I=$GOPATH/src -I=$GOPATH/src/github.com/gogo/protobuf/protobuf --gofast_out=. log.proto

About

go loghub sdk

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 99.8%
  • Makefile 0.2%