Documentation ¶
Index ¶
Constants ¶
View Source
const APIApproveSuffix = "approve"
View Source
const APIDebugSuffix = "debug"
View Source
const APIPrefix = "compute/"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ComputeAPIClient ¶
ComputeAPIClient is a utility for interacting with a node's API server.
func NewComputeAPIClient ¶
func NewComputeAPIClient(host string, port uint16, path ...string) *ComputeAPIClient
NewComputeAPIClient returns a new client for a node's API server.
func NewComputeAPIClientFromClient ¶
func NewComputeAPIClientFromClient(baseClient *publicapi.APIClient) *ComputeAPIClient
NewComputeAPIClientFromClient returns a new client for a node's API server.
type ComputeAPIServer ¶
type ComputeAPIServer struct {
// contains filtered or unexported fields
}
func NewComputeAPIServer ¶
func NewComputeAPIServer(params ComputeAPIServerParams) *ComputeAPIServer
func (*ComputeAPIServer) RegisterAllHandlers ¶
func (s *ComputeAPIServer) RegisterAllHandlers() error
type ComputeAPIServerParams ¶
type ComputeAPIServerParams struct { APIServer *publicapi.APIServer Bidder compute.Bidder Store store.ExecutionStore DebugInfoProviders []model.DebugInfoProvider }
Click to show internal directories.
Click to hide internal directories.