Help us shape the future of Go! Take the 2026 Go Developer Survey

v1

package
v0.80.9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 18, 2026 License: MIT Imports: 9 Imported by: 5

Documentation

Overview

Deprecated: This package is part of the old generics-based v1 Go SDK. Use the new Go SDK at github.com/hatchet-dev/hatchet/sdks/go instead. Migration guide: https://docs.hatchet.run/home/migration-guide-go

Deprecated: This package is part of the legacy v0 workflow definition system. Use the new Go SDK at github.com/hatchet-dev/hatchet/sdks/go instead. Migration guide: https://docs.hatchet.run/home/migration-guide-go

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config deprecated

type Config struct {
	TenantId           uuid.UUID
	Token              string
	HostPort           string
	ServerURL          string
	Namespace          string
	NoGrpcRetry        bool
	CloudRegisterID    string
	RawRunnableActions []string
	AutoscalingTarget  string
	TLS                *TLSConfig
	Logger             *zerolog.Logger
}

Deprecated: Config is part of the old generics-based v1 Go SDK. Use the new Go SDK at github.com/hatchet-dev/hatchet/sdks/go instead. Migration guide: https://docs.hatchet.run/home/migration-guide-go

type HatchetClient deprecated

type HatchetClient interface {
	// V0 returns the underlying V0 client for backward compatibility.
	V0() v0Client.Client

	// Worker creates and configures a new worker with the provided options and optional configuration functions.
	// @example
	// “`go
	// worker, err := hatchet.Worker(worker.CreateOpts{
	// 	   Name: "my-worker",
	//   },
	//   v1.WithWorkflows(simple)
	// )
	// “`
	Worker(opts worker.WorkerOpts) (worker.Worker, error)

	Metrics() features.MetricsClient
	RateLimits() features.RateLimitsClient
	Runs() features.RunsClient
	Workers() features.WorkersClient
	Workflows() features.WorkflowsClient
	Crons() features.CronsClient
	CEL() features.CELClient
	Schedules() features.SchedulesClient
	Events() v0Client.EventClient
	Filters() features.FiltersClient
	Webhooks() features.WebhooksClient
}

Deprecated: HatchetClient is part of the old generics-based v1 Go SDK. Use the new Go SDK at github.com/hatchet-dev/hatchet/sdks/go instead. Migration guide: https://docs.hatchet.run/home/migration-guide-go

func NewHatchetClient deprecated

func NewHatchetClient(config ...Config) (HatchetClient, error)

Deprecated: NewHatchetClient is part of the old generics-based v1 Go SDK. Use the new Go SDK at github.com/hatchet-dev/hatchet/sdks/go instead. Migration guide: https://docs.hatchet.run/home/migration-guide-go

type TLSConfig deprecated

type TLSConfig struct {
	Base          *shared.TLSConfigFile
	TLSServerName string
}

Deprecated: TLSConfig is part of the old generics-based v1 Go SDK. Use the new Go SDK at github.com/hatchet-dev/hatchet/sdks/go instead. Migration guide: https://docs.hatchet.run/home/migration-guide-go

Directories

Path Synopsis
Deprecated: This package is part of the legacy v0 workflow definition system.
Deprecated: This package is part of the legacy v0 workflow definition system.
Deprecated: This package is part of the legacy v0 workflow definition system.
Deprecated: This package is part of the legacy v0 workflow definition system.
Deprecated: This package is part of the old generics-based v1 Go SDK.
Deprecated: This package is part of the old generics-based v1 Go SDK.
Deprecated: This package is part of the old generics-based v1 Go SDK.
Deprecated: This package is part of the old generics-based v1 Go SDK.
Deprecated: This package is part of the old generics-based v1 Go SDK.
Deprecated: This package is part of the old generics-based v1 Go SDK.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL