eventstore

package
v1.0.12 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2022 License: MIT Imports: 9 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EventStore

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

func NewEventStore

func NewEventStore(options *Options) *EventStore

func NewEventStoreWithClient

func NewEventStoreWithClient(client *core.Client, options *Options) *EventStore

func (*EventStore) Connect

func (es *EventStore) Connect(host string, options *core.Options) error

func (*EventStore) Disconnect

func (es *EventStore) Disconnect()

func (*EventStore) GetEndpoint

func (es *EventStore) GetEndpoint() (*core.Endpoint, error)

func (*EventStore) Request

func (es *EventStore) Request(eventstoreID string, method string, data []byte) ([]byte, error)

type Options

type Options struct {
	Endpoint string
	Domain   string
	Verbose  bool
	Key      *keyring.KeyInfo
}

func NewOptions

func NewOptions() *Options

Jump to

Keyboard shortcuts

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