concordances

package
v1.91.1 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2020 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client interface {
	GetConcordance(ctx context.Context, uuid string, bookmark string) ([]ConcordanceRecord, error)
	Healthcheck() fthealth.Check
}

func NewClient

func NewClient(address string) (Client, error)

type ConcordanceRecord

type ConcordanceRecord struct {
	UUID           string `json:"uuid"`
	Authority      string `json:"authority"`
	AuthorityValue string `json:"authorityValue"`
}

type RWClient

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

func (*RWClient) GetConcordance

func (c *RWClient) GetConcordance(ctx context.Context, uuid string, bookmark string) ([]ConcordanceRecord, error)

func (*RWClient) Healthcheck

func (c *RWClient) Healthcheck() fthealth.Check

Jump to

Keyboard shortcuts

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