Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type API ¶
type API struct { // TargetUrl points to API. TargetUrl string // Credentials is a credentials of API. Credentials *authorization.Credentials // Spec contains specification of an API. Spec []byte // RequestParameters will be used with request send by the Application Gateway RequestParameters *authorization.RequestParameters }
API is an internal representation of a service's API.
type Events ¶
type Events struct { // Spec contains data of events specification. Spec []byte }
Events contains specification for events.
type ServiceDefinition ¶
type ServiceDefinition struct { // ID of service ID string // Name of a service Name string // Provider of a service Provider string // Description of a service Description string // Api of a service Api *API // Events of a service Events *Events // Documentation of service Documentation []byte }
ServiceDefinition is an internal representation of a service.
Click to show internal directories.
Click to hide internal directories.