Documentation ¶
Overview ¶
Package tables implements (URL, HTTP method) -> SermoCRM Action lookup tables. A table is an RPC service's set of endpoints.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Action ¶
type Action struct { // Name is the qualified name of the Action. E.g., users.Create. Name string Method string // Unauthenticated is true if the endpoint does not require authentication. Unauthenticated bool }
Action is an RPC Action.
type Endpoint ¶
type Endpoint struct { // Methods is all comma-delimited list of all the HTTP methods this endpoint // supports. Methods string // Actions are all the Actions that correspond to the given Endpoint. Actions []Action }
Endpoint is an HTTP endpoint.
Click to show internal directories.
Click to hide internal directories.