tools

package
v1.5.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 30, 2025 License: MIT Imports: 17 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CmdCatChunks added in v1.5.0

func CmdCatChunks() *cobra.Command

(AI GENERATED DESCRIPTION): Creates a Cobra command that retrieves the data object for a given name prefix and writes its content to standard output.

func CmdPingClient added in v1.5.0

func CmdPingClient() *cobra.Command

(AI GENERATED DESCRIPTION): Creates a Cobra command that sends ping Interests to a specified name prefix, allowing configuration of interval, timeout, count, and starting sequence number.

func CmdPingServer added in v1.5.0

func CmdPingServer() *cobra.Command

(AI GENERATED DESCRIPTION): Creates a Cobra command that starts a ping server under a specified name prefix, with an optional flag to expose the prefix registration using the client origin.

func CmdPutChunks added in v1.5.0

func CmdPutChunks() *cobra.Command

(AI GENERATED DESCRIPTION): Creates a Cobra command that publishes data chunks read from standard input under a specified name prefix, optionally registering the prefix with the client origin.

Types

type CatChunks

type CatChunks struct{}

func (*CatChunks) String added in v1.4.3

func (cc *CatChunks) String() string

(AI GENERATED DESCRIPTION): Returns the literal string `"cat"` as the textual representation of a `CatChunks` instance.

type PingClient

type PingClient struct {
	// contains filtered or unexported fields
}

func (*PingClient) String added in v1.4.3

func (pc *PingClient) String() string

(AI GENERATED DESCRIPTION): Returns a fixed string identifying the PingClient instance, always returning “ping”.

type PingServer

type PingServer struct {
	// contains filtered or unexported fields
}

func (*PingServer) String added in v1.4.3

func (ps *PingServer) String() string

(AI GENERATED DESCRIPTION): Returns a constant string identifying the PingServer, used as its string representation.

type PutChunks

type PutChunks struct {
	// contains filtered or unexported fields
}

func (*PutChunks) String added in v1.4.3

func (pc *PutChunks) String() string

(AI GENERATED DESCRIPTION): Returns the literal string `"put"` to identify the `PutChunks` operation (implementing the fmt.Stringer interface).

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL