userapi

package
v3.0.8-rc.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2018 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	httpClient.Client
}

func NewClient

func NewClient(address string) *Client

NewClient 创建审计日志操作接口

func (*Client) Create

func (cli *Client) Create(input interface{}) (int, *common.APIRsp, error)

Create 新建user api列表

func (*Client) Delete

func (cli *Client) Delete(appID, id string) (int, *common.APIRsp, error)

Delete 删除user api列表

func (*Client) Detail

func (cli *Client) Detail(appID, id string) (int, *common.APIRsp, error)

Detail 获取一个user api 的详情

func (*Client) GetUserAPI

func (cli *Client) GetUserAPI(input commondata.ObjQueryInput) (int, *common.APIRsp, error)

GetUserAPI 获取user api 列表

func (*Client) Update

func (cli *Client) Update(input interface{}, appID, id string) (int, *common.APIRsp, error)

Update 更新user api列表

Jump to

Keyboard shortcuts

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