barclient

package
v0.6.5 Latest Latest
Warning

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

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

	EchoStructSet(
		ctx context.Context,
		reqHeaders map[string]string,
		args *clientsIDlClientsBarBar.Echo_EchoStructSet_Args,
	) ([]*clientsIDlClientsBarBar.BarResponse, map[string]string, error)
	EchoTypedef(
		ctx context.Context,
		reqHeaders map[string]string,
		args *clientsIDlClientsBarBar.Echo_EchoTypedef_Args,
	) (clientsIDlClientsBarBar.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