Skip to content

johnzeng/LeanCloud-go-sdk

Repository files navigation

Lean cloud go SDK

Leancloud go语言SDK,根据Leancloud公布的Restful API封装,并且使用godep管理依赖。

使用:

go get github.com/johnzeng/leancloud-go-sdk
cd $GOPATH/src/github.com/johnzeng/leancloud-go-sdk
godep restore
go install

目前支持的功能:

  • Object create
  • Object get by id
  • Object delete by id
  • Object update by id
  • Object query support
  • cql query support
  • requestSmsCode, verifySmsCode(需要在控制台设置开放这两个接口)
  • push notification(待测试)
  • 支持LeanTime,LeanPointer,LeanByte, LeanRelation, LeanFile类型。
  • User,Installation, Role等系统结构体的集成

具体使用方法请参考对应的test文件。里面每个test都是完整的请求。

Todo:

  • Cloud function 支持
  • 事件流API
  • 实时通信API
  • 数据Schema
  • 统计数据API

About

A lean cloud sdk for golang

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published