Skip to main content

Go SDK

The Go SDK for writing TaskDaemon handlers.

Installation

Basic Usage

Task Struct

Result Functions

The Result struct:

Complete Example

Error Handling

JSON parsing errors are automatically handled:

Dockerfile

For a smaller image with static linking:

Handler Configuration