embed

package
v0.96.0 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2026 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	// contains filtered or unexported fields
}

type Instance

type Instance struct {
	// contains filtered or unexported fields
}

func Start

func Start(ctx context.Context, opts ...Option) (*Instance, error)

func (*Instance) APIURL

func (i *Instance) APIURL() string

func (*Instance) Client

func (i *Instance) Client() *hatchet.Client

func (*Instance) GRPCAddress

func (i *Instance) GRPCAddress() string

func (*Instance) Shutdown

func (i *Instance) Shutdown(ctx context.Context) error

func (*Instance) TenantID

func (i *Instance) TenantID() string

func (*Instance) Token

func (i *Instance) Token() string

type Option

type Option func(*Config)

func WithAPIPort

func WithAPIPort(port int) Option

func WithAdminUser

func WithAdminUser(email, password string) Option

func WithGRPCPort

func WithGRPCPort(port int) Option

func WithKeysets

func WithKeysets(master, privateJWT, publicJWT []byte) Option

func WithLogLevel

func WithLogLevel(level string) Option

func WithPostgres

func WithPostgres(url string) Option

func WithRabbitMQ

func WithRabbitMQ(url string) Option

func WithoutAPI

func WithoutAPI() Option

func WithoutMigrations

func WithoutMigrations() Option

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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