Versions in this module Expand all Collapse all v2 v2.0.1 May 26, 2021 Changes in this version + type APIClient struct + func (c *APIClient) CallAPI(path string, method string, postBody interface{}, ...) (*resty.Response, error) + func (c *APIClient) ParameterToString(obj interface{}, collectionFormat string) string + func (c *APIClient) SelectHeaderAccept(accepts []string) string + func (c *APIClient) SelectHeaderContentType(contentTypes []string) string + type APIResponse struct + Message string + Method string + Operation string + Payload []byte + RequestURL string + func NewAPIResponse(r *http.Response) *APIResponse + func NewAPIResponseWithError(errorMessage string) *APIResponse + type Configuration struct + APIClient *APIClient + APIKey map[string]string + APIKeyPrefix map[string]string + AccessToken string + BasePath string + Debug bool + DebugFile string + DefaultHeader map[string]string + Host string + OAuthToken string + Password string + Scheme string + Timeout *time.Duration + Transport *http.Transport + UserAgent string + Username string + func NewConfiguration() *Configuration + func (c *Configuration) AddDefaultHeader(key string, value string) + func (c *Configuration) GetAPIKeyWithPrefix(APIKeyIdentifier string) string + func (c *Configuration) GetBasicAuthEncodedString() string + type EchoServiceApi struct + Configuration *Configuration + func NewEchoServiceApi() *EchoServiceApi + func NewEchoServiceApiWithBasePath(basePath string) *EchoServiceApi + func (a EchoServiceApi) Echo(id string) (*ExamplepbSimpleMessage, *APIResponse, error) + func (a EchoServiceApi) Echo2(id string, num string) (*ExamplepbSimpleMessage, *APIResponse, error) + func (a EchoServiceApi) EchoBody(body ExamplepbSimpleMessage) (*ExamplepbSimpleMessage, *APIResponse, error) + type ExamplepbSimpleMessage struct + Id string + Num string Other modules containing this package github.com/OpenStars/grpc-gateway