eventlog

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2023 License: Apache-2.0 Imports: 12 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 {
	Endpoints []string
	ID        uint64
}

Config is the configuration of Eventlog.

type NameService

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

func NewNameService

func NewNameService(endpoints []string) *NameService

func (*NameService) LookupReadableSegments

func (ns *NameService) LookupReadableSegments(ctx context.Context, logID uint64) ([]*record.Segment, error)

func (*NameService) LookupWritableSegment

func (ns *NameService) LookupWritableSegment(ctx context.Context, logID uint64) (*record.Segment, error)

Jump to

Keyboard shortcuts

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