jsonRpc

package
v0.0.0-...-78e7222 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2019 License: AGPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(recordHandler sigbugRecordHandler.RecordHandler) *adaptor

Types

type CollectRequest

type CollectRequest struct {
	Criteria []wrappedCriterion.Wrapped `json:"criteria"`
	Query    query.Query                `json:"query"`
}

type CollectResponse

type CollectResponse struct {
	Records []sigbug.Sigbug `json:"records"`
	Total   int             `json:"total"`
}

type RetrieveRequest

type RetrieveRequest struct {
	WrappedIdentifier wrappedIdentifier.Wrapped `json:"identifier"`
}

type RetrieveResponse

type RetrieveResponse struct {
	Sigbug sigbug.Sigbug `json:"sigbug"`
}

Jump to

Keyboard shortcuts

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