acm

package module
v0.0.0-...-b7f3385 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 11, 2019 License: MIT Imports: 12 Imported by: 0

README

Acm-go

The Aliyun ACM SDK In Golang

Installation

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

Usage

Please see client_test.go

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

Client ACM客户端

func New

func New(fns ...Option) *Client

func (*Client) Read

func (a *Client) Read(dataId string) ([]byte, error)

func (*Client) Remove

func (a *Client) Remove(dataId string) error

func (*Client) Watch

func (a *Client) Watch(dataId string, content []byte) (bool, error)

func (*Client) Write

func (a *Client) Write(dataId string, content []byte) error

type Option

type Option func(options *Options)

func AuthCreds

func AuthCreds(ak, sk string) Option

func Endpoint

func Endpoint(ep string) Option

func GroupName

func GroupName(gn string) Option

func Namespace

func Namespace(ns string) Option

type Options

type Options struct {
	// contains filtered or unexported fields
}

Options ACM客户端配置

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL