Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/akash-network/provider
/ AddPreparedEndpoint
Method
AddPreparedEndpoint
operator/common/operator_server.go:22–22 ·
view source on GitHub ↗
(path string, prepare PrepareFn)
Source
from the content-addressed store, hash-verified
20
21
type
OperatorHTTP
interface
{
22
AddPreparedEndpoint(path string, prepare PrepareFn) PrepareFlagFn
23
GetRouter() *mux.Router
24
PrepareAll() error
25
}
Callers
5
TestOperatorServer
Function · 0.95
TestOperatorServerReturnsPrepareError
Function · 0.95
TestOperatorServerPanicsOnDuplicatePath
Function · 0.95
newHostnameOperator
Function · 0.65
newIPOperator
Function · 0.65
Implementers
1
operatorHTTP
operator/common/operator_server.go
Calls
no outgoing calls
Tested by
3
TestOperatorServer
Function · 0.76
TestOperatorServerReturnsPrepareError
Function · 0.76
TestOperatorServerPanicsOnDuplicatePath
Function · 0.76