Documentation ¶
Index ¶
Constants ¶
View Source
const ( // the bind address on which the REST API listens on CfgRestAPIBindAddress = "restAPI.bindAddress" // the HTTP REST routes which can be called without authorization. Wildcards using * are allowed CfgRestAPIPublicRoutes = "restAPI.publicRoutes" // the HTTP REST routes which need to be called with authorization. Wildcards using * are allowed CfgRestAPIProtectedRoutes = "restAPI.protectedRoutes" // salt used inside the JWT tokens for the REST API. Change this to a different value to invalidate JWT tokens not matching this new value CfgRestAPIJWTAuthSalt = "restAPI.jwtAuth.salt" // whether the node does PoW if messages are received via API CfgRestAPIPoWEnabled = "restAPI.powEnabled" // the amount of workers used for calculating PoW when issuing messages via API CfgRestAPIPoWWorkerCount = "restAPI.powWorkerCount" // the maximum number of characters that the body of an API call may contain CfgRestAPILimitsMaxBodyLength = "restAPI.limits.bodyLength" // the maximum number of results that may be returned by an endpoint CfgRestAPILimitsMaxResults = "restAPI.limits.maxResults" )
Variables ¶
View Source
var (
Plugin *node.Plugin
)
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.