Documentation ¶
Index ¶
Constants ¶
View Source
const ( CmdList = "list" CmdPush = "push" CmdFetch = "fetch" )
Variables ¶
Functions ¶
func CidFromHex ¶
func GetLocalDir ¶
func HexFromCid ¶
Types ¶
type Protocol ¶
type Protocol struct {
// contains filtered or unexported fields
}
func NewProtocol ¶
func NewProtocol(prefix string, handler ProtocolHandler) (*Protocol, error)
type ProtocolHandler ¶
Click to show internal directories.
Click to hide internal directories.