Documentation ¶
Index ¶
- Variables
- func ConfigOption() cmds.Option
- func GatewayOption(paths ...string) corehttp.ServeOption
- func GetArgsFromCtx(ctx context.Context) *http.Args
- func GetNoAuthFromCtx(ctx context.Context) bool
- func GetNoReportFromCtx(ctx context.Context) bool
- func HostnameOption() corehttp.ServeOption
- func InitFalconAfterNodeConstruction(req *cmds.Request, cctx *oldcmds.Context, nd *core.IpfsNode) (<-chan error, error)
- func InitFalconBeforeNodeConstruction(req *cmds.Request, rpath string, rpo repo.Repo) error
- func VersionOption() corehttp.ServeOption
- func WithArgs(ctx context.Context, args *http.Args) context.Context
- func WithNoAuth(ctx context.Context) context.Context
- func WithNoReport(ctx context.Context) context.Context
- type Cert
- type RegisterResult
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrConfigMissing = errors.New("falcon config file path not specified") ErrRcPinnerMissing = errors.New("falcon node is created without rc pinner") )
View Source
var (
ErrBadContent = errors.New("bad content")
)
View Source
var (
ErrCertNotFound = errors.New("certificate not found")
)
View Source
var (
ErrSizeCapExceeded = errors.New("body size cap exceeded")
)
Functions ¶
func ConfigOption ¶
func GatewayOption ¶
func GatewayOption(paths ...string) corehttp.ServeOption
***********************************************************//
Copied from github.com/ipfs/kubo/core/corehttp/gateway.go with code format. No logic change is made.
***********************************************************//
func GetNoAuthFromCtx ¶
func GetNoReportFromCtx ¶
func HostnameOption ¶
func HostnameOption() corehttp.ServeOption
func InitFalconAfterNodeConstruction ¶
func InitFalconAfterNodeConstruction( req *cmds.Request, cctx *oldcmds.Context, nd *core.IpfsNode, ) (<-chan error, error)
InitFalconAfterNodeConstruction setups falcon initialization work after core.IpfsNode is constructed.
func InitFalconBeforeNodeConstruction ¶
InitFalconBeforeNodeConstruction setups falcon preparation work before core.IpfsNode is constructed.
func VersionOption ¶
func VersionOption() corehttp.ServeOption
Types ¶
type RegisterResult ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.