update

package
v1.42.6 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2026 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type UpdateService

type UpdateService struct {
	proto.UnimplementedUpdateServiceServer
	// contains filtered or unexported fields
}

UpdateService is the implementation of the Update service.

func NewUpdateService

func NewUpdateService(ctx context.Context) (*UpdateService, error)

func NewUpdateServiceWithDB added in v1.26.0

func NewUpdateServiceWithDB(db storage.Database) *UpdateService

NewUpdateServiceWithDB builds an UpdateService from an already-connected db, so tests can exercise the real service with a stub database instead of a live one.

func (*UpdateService) Close

func (s *UpdateService) Close() error

func (*UpdateService) DB added in v1.37.0

func (s *UpdateService) DB() storage.Database

DB returns the service's database handle, so callers (e.g. dataaccess's metrics wiring) can register pool-stat gauges against it.

func (*UpdateService) DeleteRelationships added in v1.31.0

func (*UpdateService) Health

Health checks the health of the Update service.

func (*UpdateService) WriteRelationships added in v1.11.0

Jump to

Keyboard shortcuts

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