Documentation ΒΆ
Overview ΒΆ
Package rtfsc provides utility functions for interacting with IPFS cluster nodes and their restful api
Index ΒΆ
Constants ΒΆ
This section is empty.
Variables ΒΆ
This section is empty.
Functions ΒΆ
This section is empty.
Types ΒΆ
type ClusterManager ΒΆ
ClusterManager is a helper interface to interact with the cluster apis
func Initialize ΒΆ
func Initialize(ctx context.Context, hostAddress, hostPort string) (*ClusterManager, error)
Initialize is used to init, and return a cluster manager object
func (*ClusterManager) GenClient ΒΆ
func (cm *ClusterManager) GenClient() error
GenClient is used to generate a client to interact with the cluster
func (*ClusterManager) GenRestAPIConfig ΒΆ
func (cm *ClusterManager) GenRestAPIConfig()
GenRestAPIConfig is used to generate the api cfg needed to interact with the cluster
Click to show internal directories.
Click to hide internal directories.