pkg/

directory
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2026 License: Apache-2.0

Directories

Path Synopsis
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.
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.
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.
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.
root
Package root wraps the cocoon_root smart contract on TON mainnet.
Package root wraps the cocoon_root smart contract on TON mainnet.
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.
Package router implements the COCOON upstream proxy dialer used by pkg/cocoon.
Package router implements the COCOON upstream proxy dialer used by pkg/cocoon.
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.
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.
memory
Package memory provides an in-memory implementation of store.Store.
Package memory provides an in-memory implementation of store.Store.
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.

Jump to

Keyboard shortcuts

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