Documentation
¶
Index ¶
- type APIClient
- type Configuration
- func (c *Configuration) AddDefaultHeader(key string, value string)
- func (c *Configuration) BasePath() string
- func (c *Configuration) DefaultHeader() map[string]string
- func (c *Configuration) HTTPClient() *http.Client
- func (c *Configuration) Host() string
- func (c *Configuration) SetBasePath(apiRoot string)
- func (c *Configuration) SetHost(host string)
- func (c *Configuration) SetUserAgent(userAgent string)
- func (c *Configuration) UserAgent() string
- type N32FContextTerminateApiService
- type N32FErrorReportApiService
- type ParameterExchangeApiService
- type SecurityCapabilityNegotiationApiService
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIClient ¶
type APIClient struct { // API Services N32FContextTerminateApi *N32FContextTerminateApiService N32FErrorReportApi *N32FErrorReportApiService ParameterExchangeApi *ParameterExchangeApiService SecurityCapabilityNegotiationApi *SecurityCapabilityNegotiationApiService // contains filtered or unexported fields }
APIClient manages communication with the N32 Handshake API API v1.1.2 In most cases there should be only one, shared, APIClient.
func NewAPIClient ¶
func NewAPIClient(cfg *Configuration) *APIClient
NewAPIClient creates a new API client. Requires a userAgent string describing your application. optionally a custom http.Client to allow for advanced features such as caching.
type Configuration ¶
type Configuration struct {
// contains filtered or unexported fields
}
func NewConfiguration ¶
func NewConfiguration() *Configuration
func (*Configuration) AddDefaultHeader ¶
func (c *Configuration) AddDefaultHeader(key string, value string)
func (*Configuration) BasePath ¶
func (c *Configuration) BasePath() string
func (*Configuration) DefaultHeader ¶
func (c *Configuration) DefaultHeader() map[string]string
func (*Configuration) HTTPClient ¶
func (c *Configuration) HTTPClient() *http.Client
func (*Configuration) Host ¶
func (c *Configuration) Host() string
func (*Configuration) SetBasePath ¶
func (c *Configuration) SetBasePath(apiRoot string)
func (*Configuration) SetHost ¶
func (c *Configuration) SetHost(host string)
func (*Configuration) SetUserAgent ¶
func (c *Configuration) SetUserAgent(userAgent string)
func (*Configuration) UserAgent ¶
func (c *Configuration) UserAgent() string
type N32FContextTerminateApiService ¶
type N32FContextTerminateApiService service
func (*N32FContextTerminateApiService) PostN32fTerminate ¶
func (a *N32FContextTerminateApiService) PostN32fTerminate(ctx context.Context, n32fContextInfo models.N32fContextInfo) (models.N32fContextInfo, *http.Response, error)
type N32FErrorReportApiService ¶
type N32FErrorReportApiService service
func (*N32FErrorReportApiService) PostN32fError ¶
func (a *N32FErrorReportApiService) PostN32fError(ctx context.Context, n32fErrorInfo models.N32fErrorInfo) (*http.Response, error)
type ParameterExchangeApiService ¶
type ParameterExchangeApiService service
func (*ParameterExchangeApiService) PostExchangeParams ¶
func (a *ParameterExchangeApiService) PostExchangeParams(ctx context.Context, secParamExchReqData models.SecParamExchReqData) (models.SecParamExchRspData, *http.Response, error)
type SecurityCapabilityNegotiationApiService ¶
type SecurityCapabilityNegotiationApiService service
func (*SecurityCapabilityNegotiationApiService) PostExchangeCapability ¶
func (a *SecurityCapabilityNegotiationApiService) PostExchangeCapability(ctx context.Context, secNegotiateReqData models.SecNegotiateReqData) (models.SecNegotiateRspData, *http.Response, error)
Source Files
¶
Click to show internal directories.
Click to hide internal directories.