Documentation
¶
Index ¶
Constants ¶
View Source
const DefaultPushConnectorSource = "GenericJson"
DefaultPushConnectorSource is the default source for the ServiceNow Push Connector API.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PushConnectorURL ¶
PushConnectorURL is the URL for the ServiceNow Push Connector API.
func NewPushConnectorUrl ¶
func NewPushConnectorUrl(instance string, source string) PushConnectorURL
NewPushConnectorUrl returns a new Push Connector URL.
func (*PushConnectorURL) SetSource ¶
func (s *PushConnectorURL) SetSource(source string)
SetSource sets the source of the Push Connector URL.
func (*PushConnectorURL) SetUrl ¶
func (s *PushConnectorURL) SetUrl(url string)
SetUrl sets the URL of the Push Connector URL.
func (PushConnectorURL) String ¶
func (s PushConnectorURL) String() string
String returns the string representation of the Push Connector URL.
type Request ¶
type Request struct {
// contains filtered or unexported fields
}
Request represents a ServiceNow Push Connector API request.
func NewRequest ¶
func NewRequest(url PushConnectorURL, event cloudevents.Event) *Request
NewRequest returns a new ServiceNow Push Connector API request.
Click to show internal directories.
Click to hide internal directories.