foundationdb

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type StartOption

type StartOption func(*startOptions)

func WithJetStream

func WithJetStream(js jetstream.JetStream) StartOption

func WithNATSConnection

func WithNATSConnection(conn *natsgo.Conn, opts ...jetstream.JetStreamOpt) StartOption

func WithNATSURL

func WithNATSURL(url string, opts ...natsgo.Option) StartOption

type Store

type Store struct {
	*orisun.OrisunServer
	// contains filtered or unexported fields
}

func Start

func Start(ctx context.Context, config c.AppConfig, logger l.Logger, opts ...StartOption) (*Store, error)

func (*Store) Close

func (s *Store) Close(ctx context.Context)

func (*Store) CreateBoundaryIndex

func (s *Store) CreateBoundaryIndex(ctx context.Context, boundary, name string, fields []orisun.BoundaryIndexField, conditions []orisun.BoundaryIndexCondition, combinator string) error

func (*Store) DropBoundaryIndex

func (s *Store) DropBoundaryIndex(ctx context.Context, boundary, name string) error

func (*Store) JetStream

func (s *Store) JetStream() jetstream.JetStream

func (*Store) NATSConnection

func (s *Store) NATSConnection() *natsgo.Conn

Jump to

Keyboard shortcuts

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