Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddEventInfo ¶ added in v0.8.2
type AuthHeader ¶ added in v0.8.2
type DBody ¶ added in v0.8.2
type DBody struct { AccessToken string `json:"X-Dgraph-AccessToken"` Args map[string]json.RawMessage `json:"args"` AuthHeader AuthHeader `json:"authHeader"` Resolver string `json:"resolver"` Parents json.RawMessage `json:"parents"` Event Event `json:"event"` }
type DeleteEventInfo ¶ added in v0.8.2
type DeleteEventInfo struct {
RootUIDs []string `json:"rootUIDs"`
}
type Event ¶ added in v0.8.2
type Event struct { TypeName string `json:"__typename"` CommitTs uint64 `json:"commitTs"` Operation string `json:"operation"` Add AddEventInfo `json:"add"` Update UpdateEventInfo `json:"update"` Delete DeleteEventInfo `json:"delete"` }
type ExecuterInterface ¶ added in v0.8.2
type HandlerFunc ¶ added in v0.8.2
type Lambda ¶ added in v0.8.2
type Lambda struct {
Executor ExecuterInterface
}
func New ¶ added in v0.8.2
func New(executer ExecuterInterface) *Lambda
type MiddlewareData ¶ added in v0.8.2
type MiddlewareFunc ¶ added in v0.8.2
type MiddlewareFunc func(MiddlewareData) MiddlewareData
type UpdateEventInfo ¶ added in v0.8.2
Click to show internal directories.
Click to hide internal directories.