Documentation ¶ Index ¶ type API type APIConfig type Interface Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type API ¶ type API struct { URL string // api request config jsonnet snippet Snippet string // request jsonnet top level arguments, key: TLA key, value: TLA value TLARaw map[string]interface{} // API identity info Actor string } type APIConfig ¶ type APIConfig struct { Method string `json:"method"` URL string `json:"url"` Headers http.Header `json:"header"` Body map[string]interface{} `json:"body"` IsHTTPS bool `json:"https"` } type Interface ¶ type Interface interface { Send(api *API) (string, error) } Source Files ¶ View all Source files api.go Click to show internal directories. Click to hide internal directories.