Skip to content

caliahub/easyops-client-go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

easyops-go-sdk

Go Report Card

优维DevOps平台Go SDK,简单易用,方便Go开发人员通过openapi快速接入Easyops

快速开始

引入依赖包

go get github.com/caliahub/easyops-client-go@v0.0.1

使用(示例)

package main

import (
	"fmt"
	openapi "github.com/caliahub/easyops-client-go"
	"github.com/caliahub/easyops-client-go/flowable"
)

func main() {
	// config
	config := &openapi.Config{
		AccessKey: openapi.String("xxx"),
		SecretKey: openapi.String("xxx"),
		Host:      openapi.String("xxx"),
	}
	
	// create client 
	client := flowable.NewClient(config)
	
	// request
	resp, err := client.GetProcessInstance("xxx")
	if err != nil {
		return
	}
	fmt.Println(resp)
}

接口文档

About

easyops Go SDK

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages