Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
gocoon
command
Command gocoon is the standalone COCOON client CLI.
|
Command gocoon is the standalone COCOON client CLI. |
|
gocoon-runner
command
Command gocoon-runner is the browser-compat runner binary, drop-in replacement for upstream cocoon-runner.
|
Command gocoon-runner is the browser-compat runner binary, drop-in replacement for upstream cocoon-runner. |
|
pkg
|
|
|
cocoon
Package cocoon is the public client API for the COCOON decentralized AI inference network on TON.
|
Package cocoon is the public client API for the COCOON decentralized AI inference network on TON. |
|
cocoon/internal/fakeproxy
Package fakeproxy implements an in-process fake COCOON proxy that speaks the same wire protocol as the real upstream proxy.
|
Package fakeproxy implements an in-process fake COCOON proxy that speaks the same wire protocol as the real upstream proxy. |
|
contracts
Package contracts contains Go ports of the COCOON smart-contract wrappers originally published in TypeScript at TelegramMessenger/cocoon-contracts.
|
Package contracts contains Go ports of the COCOON smart-contract wrappers originally published in TypeScript at TelegramMessenger/cocoon-contracts. |
|
contracts/client
Package client wraps the cocoon_client smart contract: a per-(client,proxy) payment channel.
|
Package client wraps the cocoon_client smart contract: a per-(client,proxy) payment channel. |
|
contracts/root
Package root wraps the cocoon_root smart contract on TON mainnet.
|
Package root wraps the cocoon_root smart contract on TON mainnet. |
|
contracts/wallet
Package wallet wraps the cocoon_wallet smart contract: a custom Ed25519 wallet used as the cocoon-node identity.
|
Package wallet wraps the cocoon_wallet smart contract: a custom Ed25519 wallet used as the cocoon-node identity. |
|
router
Package router implements the COCOON upstream proxy dialer used by pkg/cocoon.
|
Package router implements the COCOON upstream proxy dialer used by pkg/cocoon. |
|
store
Package store defines the persistence interface used by pkg/cocoon and supplies in-memory and bbolt-backed implementations.
|
Package store defines the persistence interface used by pkg/cocoon and supplies in-memory and bbolt-backed implementations. |
|
store/bbolt
Package bbolt provides a persistent store.Store implementation using etcd-io/bbolt.
|
Package bbolt provides a persistent store.Store implementation using etcd-io/bbolt. |
|
store/memory
Package memory provides an in-memory implementation of store.Store.
|
Package memory provides an in-memory implementation of store.Store. |
|
tl
Package tl implements the Telegram TL (Type Language) wire format used by the COCOON network protocol.
|
Package tl implements the Telegram TL (Type Language) wire format used by the COCOON network protocol. |
Click to show internal directories.
Click to hide internal directories.