go_gin_api

package
v1.2.7 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DemoGet

func DemoGet(name string, opts ...httpclient.Option) (res *demoGetResponse, err error)

DemoGet 发起请求

func DemoGetAlarmVerify

func DemoGetAlarmVerify(body []byte) (shouldAlarm bool)

DemoGetAlarmVerify 设置告警规则

func DemoGetMock

func DemoGetMock() (body []byte)

DemoGetMock 设置 Mock 数据

func DemoGetRetryVerify

func DemoGetRetryVerify(body []byte) (shouldRetry bool)

DemoGetRetryVerify 设置重试规则

func DemoPost

func DemoPost(name string, opts ...httpclient.Option) (res *demoPostResponse, err error)

DemoPost 发起请求

func DemoPostAlarmVerify

func DemoPostAlarmVerify(body []byte) (shouldAlarm bool)

DemoPostAlarmVerify 设置告警规则

func DemoPostMock

func DemoPostMock() (body []byte)

DemoPostMock 设置 Mock 数据

func DemoPostRetryVerify

func DemoPostRetryVerify(body []byte) (shouldRetry bool)

DemoPostRetryVerify 设置重试规则

Types

This section is empty.

Jump to

Keyboard shortcuts

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