Documentation
¶
Overview ¶
Package discovery provides support the HSDP Discovery services
Index ¶
- Constants
- Variables
- type Client
- func (c *Client) Close()
- func (c *Client) Do(req *http.Request, v interface{}) (*Response, error)
- func (c *Client) GetBaseURL() string
- func (c *Client) GetEndpointURL() string
- func (c *Client) GetServices() (*[]Service, *Response, error)
- func (c *Client) NewRequest(method, requestPath string, opt interface{}, options ...OptionFunc) (*http.Request, error)
- func (c *Client) SetBaseURL(urlStr string) error
- type Config
- type OptionFunc
- type Response
- type Service
Constants ¶
View Source
const (
APIVersion = "1"
)
Variables ¶
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { // HTTP Client used to communicate with IAM API *iam.Client // User agent used when communicating with the HSDP Notification API UserAgent string // contains filtered or unexported fields }
A Client manages communication with HSDP AI APIs
func (*Client) Do ¶
Do executes a http request. If v implements the io.Writer interface, the raw response body will be written to v, without attempting to first decode it.
func (*Client) GetBaseURL ¶
GetBaseURL returns the base URL as configured
func (*Client) GetEndpointURL ¶
GetEndpointURL returns the FHIR Store Endpoint URL as configured
func (*Client) NewRequest ¶
func (*Client) SetBaseURL ¶
SetBaseURL sets the base URL for API requests
type OptionFunc ¶
OptionFunc is the function signature function for options
Click to show internal directories.
Click to hide internal directories.