Event Function¶
Event functions can be configured with event triggers and integrate a variety of OpenTelekomCloud products (such as object storage service OBS, distributed messaging service RabbitMQ version, cloud log service LTS, etc.).
FunctionGraph Go libraries¶
The FunctionGraph Go runtime SDK provides the following libraries to help you develop Go event functions:
github.com/opentelekomcloud-community/otc-functiongraph-go-runtime/go-runtime/go-api/context
This library provides the Context structure, which contains the runtime information of the function and provides methods to obtain the runtime information.
github.com/opentelekomcloud-community/otc-functiongraph-go-runtime/go-runtime/pkg/runtime
This library provides the Handler interface, which defines the method that must be implemented by a function handler.
github.com/opentelekomcloud-community/otc-functiongraph-go-runtime/go-runtime/events
This library provides type definitions for common event source integrations.
OpenTelekomCloud community provides following libraries for Go development:
The community edition of OTC SDK for API signing in Go provides utility methods to handle request signing.