api

package
v0.0.0-...-1196ed7 Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2023 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MapperAPI

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

func NewMapperAPI

func NewMapperAPI() (*MapperAPI, error)

func (*MapperAPI) Bind

func (mapi *MapperAPI) Bind(root *chi.Mux) error

func (*MapperAPI) MapperDetailsByID

func (gapi *MapperAPI) MapperDetailsByID(w http.ResponseWriter, r *http.Request)

func (*MapperAPI) MapperEventsByID

func (gapi *MapperAPI) MapperEventsByID(w http.ResponseWriter, r *http.Request)

func (*MapperAPI) MapperListByID

func (gapi *MapperAPI) MapperListByID(w http.ResponseWriter, r *http.Request)

func (*MapperAPI) OwnedMappers

func (gapi *MapperAPI) OwnedMappers(w http.ResponseWriter, r *http.Request)

func (*MapperAPI) PendingMapperEvents

func (mapi *MapperAPI) PendingMapperEvents(w http.ResponseWriter, r *http.Request)

type PendingMapperEventsResponse

type PendingMapperEventsResponse struct {
	Confirmations uint64               `json:"confirmations"`
	SyncedTo      uint64               `json:"syncedTo"`
	Events        []*types.MapperEvent `json:"events"`
}

Jump to

Keyboard shortcuts

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