barclient

package
v0.4.4 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2020 License: MIT Imports: 11 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 interface {
	HTTPClient() *zanzibar.HTTPClient
	ArgNotStruct(
		ctx context.Context,
		reqHeaders map[string]string,
		args *clientsBarBar.Bar_ArgNotStruct_Args,
	) (map[string]string, error)
	ArgWithHeaders(
		ctx context.Context,
		reqHeaders map[string]string,
		args *clientsBarBar.Bar_ArgWithHeaders_Args,
	) (*clientsBarBar.BarResponse, map[string]string, error)
	ArgWithManyQueryParams(
		ctx context.Context,
		reqHeaders map[string]string,
		args *clientsBarBar.Bar_ArgWithManyQueryParams_Args,
	) (*clientsBarBar.BarResponse, map[string]string, error)
	ArgWithNearDupQueryParams(
		ctx context.Context,
		reqHeaders map[string]string,
		args *clientsBarBar.Bar_ArgWithNearDupQueryParams_Args,
	) (*clientsBarBar.BarResponse, map[string]string, error)
	ArgWithNestedQueryParams(
		ctx context.Context,
		reqHeaders map[string]string,
		args *clientsBarBar.Bar_ArgWithNestedQueryParams_Args,
	) (*clientsBarBar.BarResponse, map[string]string, error)
	ArgWithParams(
		ctx context.Context,
		reqHeaders map[string]string,
		args *clientsBarBar.Bar_ArgWithParams_Args,
	) (*clientsBarBar.BarResponse, map[string]string, error)
	ArgWithParamsAndDuplicateFields(
		ctx context.Context,
		reqHeaders map[string]string,
		args *clientsBarBar.Bar_ArgWithParamsAndDuplicateFields_Args,
	) (*clientsBarBar.BarResponse, map[string]string, error)
	ArgWithQueryHeader(
		ctx context.Context,
		reqHeaders map[string]string,
		args *clientsBarBar.Bar_ArgWithQueryHeader_Args,
	) (*clientsBarBar.BarResponse, map[string]string, error)
	ArgWithQueryParams(
		ctx context.Context,
		reqHeaders map[string]string,
		args *clientsBarBar.Bar_ArgWithQueryParams_Args,
	) (*clientsBarBar.BarResponse, map[string]string, error)
	DeleteFoo(
		ctx context.Context,
		reqHeaders map[string]string,
		args *clientsBarBar.Bar_DeleteFoo_Args,
	) (map[string]string, error)
	DeleteWithQueryParams(
		ctx context.Context,
		reqHeaders map[string]string,
		args *clientsBarBar.Bar_DeleteWithQueryParams_Args,
	) (map[string]string, error)
	Hello(
		ctx context.Context,
		reqHeaders map[string]string,
	) (string, map[string]string, error)
	ListAndEnum(
		ctx context.Context,
		reqHeaders map[string]string,
		args *clientsBarBar.Bar_ListAndEnum_Args,
	) (string, map[string]string, error)
	MissingArg(
		ctx context.Context,
		reqHeaders map[string]string,
	) (*clientsBarBar.BarResponse, map[string]string, error)
	NoRequest(
		ctx context.Context,
		reqHeaders map[string]string,
	) (*clientsBarBar.BarResponse, map[string]string, error)
	Normal(
		ctx context.Context,
		reqHeaders map[string]string,
		args *clientsBarBar.Bar_Normal_Args,
	) (*clientsBarBar.BarResponse, map[string]string, error)
	NormalRecur(
		ctx context.Context,
		reqHeaders map[string]string,
		args *clientsBarBar.Bar_NormalRecur_Args,
	) (*clientsBarBar.BarResponseRecur, map[string]string, error)
	TooManyArgs(
		ctx context.Context,
		reqHeaders map[string]string,
		args *clientsBarBar.Bar_TooManyArgs_Args,
	) (*clientsBarBar.BarResponse, map[string]string, error)
	EchoBinary(
		ctx context.Context,
		reqHeaders map[string]string,
		args *clientsBarBar.Echo_EchoBinary_Args,
	) ([]byte, map[string]string, error)
	EchoBool(
		ctx context.Context,
		reqHeaders map[string]string,
		args *clientsBarBar.Echo_EchoBool_Args,
	) (bool, map[string]string, error)
	EchoDouble(
		ctx context.Context,
		reqHeaders map[string]string,
		args *clientsBarBar.Echo_EchoDouble_Args,
	) (float64, map[string]string, error)
	EchoEnum(
		ctx context.Context,
		reqHeaders map[string]string,
		args *clientsBarBar.Echo_EchoEnum_Args,
	) (clientsBarBar.Fruit, map[string]string, error)
	EchoI16(
		ctx context.Context,
		reqHeaders map[string]string,
		args *clientsBarBar.Echo_EchoI16_Args,
	) (int16, map[string]string, error)
	EchoI32(
		ctx context.Context,
		reqHeaders map[string]string,
		args *clientsBarBar.Echo_EchoI32_Args,
	) (int32, map[string]string, error)
	EchoI32Map(
		ctx context.Context,
		reqHeaders map[string]string,
		args *clientsBarBar.Echo_EchoI32Map_Args,
	) (map[int32]*clientsBarBar.BarResponse, map[string]string, error)
	EchoI64(
		ctx context.Context,
		reqHeaders map[string]string,
		args *clientsBarBar.Echo_EchoI64_Args,
	) (int64, map[string]string, error)
	EchoI8(
		ctx context.Context,
		reqHeaders map[string]string,
		args *clientsBarBar.Echo_EchoI8_Args,
	) (int8, map[string]string, error)
	EchoString(
		ctx context.Context,
		reqHeaders map[string]string,
		args *clientsBarBar.Echo_EchoString_Args,
	) (string, map[string]string, error)
	EchoStringList(
		ctx context.Context,
		reqHeaders map[string]string,
		args *clientsBarBar.Echo_EchoStringList_Args,
	) ([]string, map[string]string, error)
	EchoStringMap(
		ctx context.Context,
		reqHeaders map[string]string,
		args *clientsBarBar.Echo_EchoStringMap_Args,
	) (map[string]*clientsBarBar.BarResponse, map[string]string, error)
	EchoStringSet(
		ctx context.Context,
		reqHeaders map[string]string,
		args *clientsBarBar.Echo_EchoStringSet_Args,
	) (map[string]struct{}, map[string]string, error)
	EchoStructList(
		ctx context.Context,
		reqHeaders map[string]string,
		args *clientsBarBar.Echo_EchoStructList_Args,
	) ([]*clientsBarBar.BarResponse, map[string]string, error)

	EchoStructSet(
		ctx context.Context,
		reqHeaders map[string]string,
		args *clientsBarBar.Echo_EchoStructSet_Args,
	) ([]*clientsBarBar.BarResponse, map[string]string, error)
	EchoTypedef(
		ctx context.Context,
		reqHeaders map[string]string,
		args *clientsBarBar.Echo_EchoTypedef_Args,
	) (clientsBarBar.UUID, map[string]string, error)
}

Client defines bar client interface.

func NewClient

func NewClient(deps *module.Dependencies) Client

NewClient returns a new http client.

Directories

Path Synopsis
Package clientmock is a generated GoMock package.
Package clientmock is a generated GoMock package.

Jump to

Keyboard shortcuts

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