miclle / stack-go

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

github.com/qiniu/stack-go (七牛云主机服务 Go SDK)

LICENSE Build Status

Qiniu Logo

Installation

go get github.com/qiniu/stack-go

Examples

import (
  "github.com/qiniu/stack-go"
  "github.com/qiniu/stack-go/components/auth"
  "github.com/qiniu/stack-go/components/log"
)

func main() {
  s := stack.New(log.NewSimpleLog(), "https://api-qvm.qiniu.com", auth.NewCredential("xxx", "xxx"))

  resp, _ := s.ECS().ListInstances(&ecs.ListInstancesParams{...})

  ...
}

License

stack-go is released under the Apache 2.0 license. See LICENSE.txt

About

License:Apache License 2.0


Languages

Language:Go 99.0%Language:Makefile 1.0%