db

package
v0.0.0-...-7811109 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewPoolFac

func NewPoolFac(conn *pgxpool.Pool) func() gen.ProcessBehavior

func NewWorker

func NewWorker() gen.ProcessBehavior

Types

type Pool

type Pool struct {
	act.Pool
	// contains filtered or unexported fields
}

func (*Pool) Init

func (p *Pool) Init(args ...any) (act.PoolOptions, error)

type Worker

type Worker struct {
	act.Actor
	// contains filtered or unexported fields
}

func (*Worker) HandleCall

func (w *Worker) HandleCall(from gen.PID, _ gen.Ref, request any) (any, error)

func (*Worker) HandleMessage

func (w *Worker) HandleMessage(_ gen.PID, message any) error

func (*Worker) Init

func (w *Worker) Init(args ...any) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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