adminapi

package
v0.0.0-...-3bd49d4 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2021 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package adminapi contains the API code for the admin client - gateway communication.

Package adminapi - set of remote API used to call a Gateway, grouped to a specific caller type - Retrieval Admin. All calls from FileCoin Secondary Retrieval network nodes of types Retrieval Provider Admin and Retrieval Gateway Admin are going to API handlers in this package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HandleGatewayAdminForceRefreshRequest

func HandleGatewayAdminForceRefreshRequest(w rest.ResponseWriter, request *fcrmessages.FCRMessage)

HandleGatewayAdminForceRefreshRequest handles admin force refresh request

func HandleGatewayAdminGetReputationRequest

func HandleGatewayAdminGetReputationRequest(w rest.ResponseWriter, request *fcrmessages.FCRMessage)

HandleGatewayAdminGetReputationRequest handles admin get reputation request

func HandleGatewayAdminInitialiseKeyRequest

func HandleGatewayAdminInitialiseKeyRequest(w rest.ResponseWriter, request *fcrmessages.FCRMessage)

HandleGatewayAdminInitialiseKeyRequest handles admin initilise key request

func HandleGatewayAdminInitialiseKeyRequestV2

func HandleGatewayAdminInitialiseKeyRequestV2(w rest.ResponseWriter, request *fcrmessages.FCRMessage)

HandleGatewayAdminInitialiseKeyRequestV2 handles admin initilise key request with initialized payment manager

func HandleGatewayAdminListDHTOffersRequest

func HandleGatewayAdminListDHTOffersRequest(w rest.ResponseWriter, request *fcrmessages.FCRMessage)

HandleGatewayAdminListDHTOffersRequest handles admin list dht offer request

func HandleGatewayAdminSetReputationRequest

func HandleGatewayAdminSetReputationRequest(w rest.ResponseWriter, request *fcrmessages.FCRMessage)

HandleGatewayAdminSetReputationRequest handles admin set reputation request

func HandleGatewayAdminUpdateGatewayGroupCIDOfferSupportRequest

func HandleGatewayAdminUpdateGatewayGroupCIDOfferSupportRequest(w rest.ResponseWriter, request *fcrmessages.FCRMessage)

HandleGatewayAdminUpdateGatewayGroupCIDOfferSupportRequest handles updating state of the Gateway, namely if it supports group CID offers

Types

This section is empty.

Jump to

Keyboard shortcuts

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