pkg

package
v0.0.0-...-6b33018 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	App          = "App"
	Version      = "Version"
	AppNameValue = "com.hubmakerlabs.hoover"
	AppVersion   = "v1.0.0"
	Un           = "Un" // todo for future use for delete/unfollow/unblock/unlike
	Id           = "Id"
	Event        = "Event"
	Protocol     = "Protocol"
	User         = "User"
	Unix         = "Unix"
	Time         = "Time"
	Timestamp    = "Timestamp"
	Kind         = "Kind"
	Repository   = "Repository"
	Path         = "Path"
	Signature    = "Signature"
	Label        = "Label"
	Namespace    = "Namespace"
)
View Source
var (
	// Protocols
	Nostr     = "Nostr"
	Bsky      = "Bluesky"
	Farcaster = "Farcaster"

	// Kinds
	Post    = "Post"
	Repost  = "Repost"
	Like    = "Like"
	Follow  = "Follow"
	Block   = "Block"
	Profile = "Profile"

	// Posts
	Text        = "Text"
	Richtext    = "Richtext"
	Image       = "Image"
	Embed       = "Embed"
	Alt         = "Alt"
	Ref         = "Ref"
	Facet       = "Facet"
	Mimetype    = "Mimetype"
	Aspect      = "Aspect"
	Title       = "Title"
	Description = "Description"
	External    = "External"
	Record      = "Record"
	Entities    = "Entities"
	Language    = "Language"
	Index       = "Index"
	Type        = "Type"
	Value       = "Value"
	Link        = "Link"
	Start       = "Start"
	End         = "End"
	Media       = "Media"
	Links       = "Links"
	EmbedCid    = "EmbedCid"
	EmbedURI    = "EmbedURI"
	Mention     = "Mention"
	Source      = "Source"
	Hashtag     = "Hashtag"
	Emoji       = "Emoji"
	Content     = "Content"
	Warning     = "Warning"
	Reply       = "Reply"
	Parent      = "Parent"
	Root        = "Root"
	Tag         = "Tag"
	Thumb       = "Thumb"

	// Profiles
	Bio          = "Bio"
	Name         = "Name"
	Display      = "Display"
	Avatar       = "Avatar"
	Website      = "Website"
	Verification = "Verification"
	Payment      = "Payment"
	Address      = "Address"

	// The rest
	Add = "Add"

	// Embeds
	Reference  = "Reference"
	Origin     = "Origin"
	Uri        = "Uri"
	Size       = "Size"
	Dimensions = "Dimensions"
	Duration   = "Duration"

	//ANS-110
	Topic       = "Topic"
	PostType    = "social-post"
	ProfileType = "profile"
)

Functions

func J

func J(s ...any) string

J joins two strings in HTTP-Header-Case, aka Train-Case

Types

This section is empty.

Directories

Path Synopsis
sdk
Package bluesky is a set of functions for pulling events from bluesky and sending them to Arweave AO.
Package bluesky is a set of functions for pulling events from bluesky and sending them to Arweave AO.
btcsuite
base58
Package base58 provides an API for working with modified base58 and Base58Check encodings.
Package base58 provides an API for working with modified base58 and Base58Check encodings.
eth
Package eth implements the Ethereum protocol.
Package eth implements the Ethereum protocol.
accounts
Package accounts implements high level Ethereum account management.
Package accounts implements high level Ethereum account management.
accounts/abi
Package abi implements the Ethereum ABI (Application Binary Interface).
Package abi implements the Ethereum ABI (Application Binary Interface).
accounts/abi/bind
Package bind generates Ethereum contract Go bindings.
Package bind generates Ethereum contract Go bindings.
accounts/keystore
Package keystore implements encrypted storage of secp256k1 private keys.
Package keystore implements encrypted storage of secp256k1 private keys.
accounts/usbwallet
Package usbwallet implements support for USB hardware wallets.
Package usbwallet implements support for USB hardware wallets.
accounts/usbwallet/trezor
Package trezor contains the wire protocol.
Package trezor contains the wire protocol.
beacon/merkle
Package merkle implements proof verifications in binary merkle trees.
Package merkle implements proof verifications in binary merkle trees.
beacon/types
Package types implements a few types of the beacon chain for light client usage.
Package types implements a few types of the beacon chain for light client usage.
cmd/_geth
geth is the official command-line client for Ethereum.
geth is the official command-line client for Ethereum.
cmd/bootnode
bootnode runs a bootstrap node for the Ethereum Discovery Protocol.
bootnode runs a bootstrap node for the Ethereum Discovery Protocol.
cmd/evm
evm executes EVM code snippets.
evm executes EVM code snippets.
cmd/faucet
faucet is an Ether faucet backed by a light client.
faucet is an Ether faucet backed by a light client.
cmd/p2psim
p2psim provides a command-line client for a simulation HTTP API.
p2psim provides a command-line client for a simulation HTTP API.
cmd/rlpdump
rlpdump is a pretty-printer for RLP data.
rlpdump is a pretty-printer for RLP data.
cmd/utils
Package utils contains internal helper functions for go-ethereum commands.
Package utils contains internal helper functions for go-ethereum commands.
common
Package common contains various helper functions.
Package common contains various helper functions.
common/bitutil
Package bitutil implements fast bitwise operations.
Package bitutil implements fast bitwise operations.
common/compiler
Package compiler wraps the Solidity and Vyper compiler executables (solc; vyper).
Package compiler wraps the Solidity and Vyper compiler executables (solc; vyper).
common/hexutil
Package hexutil implements hex encoding with 0x prefix.
Package hexutil implements hex encoding with 0x prefix.
common/lru
Package lru implements generically-typed LRU caches.
Package lru implements generically-typed LRU caches.
common/math
Package math provides integer math utilities.
Package math provides integer math utilities.
common/mclock
Package mclock is a wrapper for a monotonic clock source
Package mclock is a wrapper for a monotonic clock source
common/prque
Package prque implements a priority queue data structure supporting arbitrary value types and int64 priorities.
Package prque implements a priority queue data structure supporting arbitrary value types and int64 priorities.
consensus
Package consensus implements different Ethereum consensus engines.
Package consensus implements different Ethereum consensus engines.
consensus/clique
Package clique implements the proof-of-authority consensus engine.
Package clique implements the proof-of-authority consensus engine.
consensus/ethash
Package ethash implements the ethash proof-of-work consensus engine.
Package ethash implements the ethash proof-of-work consensus engine.
core
Package core implements the Ethereum consensus protocol.
Package core implements the Ethereum consensus protocol.
core/asm
Package asm provides support for dealing with EVM assembly instructions (e.g., disassembling them).
Package asm provides support for dealing with EVM assembly instructions (e.g., disassembling them).
core/bloombits
Package bloombits implements bloom filtering on batches of data.
Package bloombits implements bloom filtering on batches of data.
core/forkid
Package forkid implements EIP-2124 (https://eips.ethereum.org/EIPS/eip-2124).
Package forkid implements EIP-2124 (https://eips.ethereum.org/EIPS/eip-2124).
core/rawdb
Package rawdb contains a collection of low level database accessors.
Package rawdb contains a collection of low level database accessors.
core/state
Package state provides a caching layer atop the Ethereum state trie.
Package state provides a caching layer atop the Ethereum state trie.
core/state/snapshot
Package snapshot implements a journalled, dynamic state dump.
Package snapshot implements a journalled, dynamic state dump.
core/txpool/blobpool
Package blobpool implements the EIP-4844 blob transaction pool.
Package blobpool implements the EIP-4844 blob transaction pool.
core/txpool/legacypool
Package legacypool implements the normal EVM execution transaction pool.
Package legacypool implements the normal EVM execution transaction pool.
core/types
Package types contains data types related to Ethereum consensus.
Package types contains data types related to Ethereum consensus.
core/vm
Package vm implements the Ethereum Virtual Machine.
Package vm implements the Ethereum Virtual Machine.
core/vm/runtime
Package runtime provides a basic execution model for executing EVM code.
Package runtime provides a basic execution model for executing EVM code.
crypto/blake2b
Package blake2b implements the BLAKE2b hash algorithm defined by RFC 7693 and the extendable output function (XOF) BLAKE2Xb.
Package blake2b implements the BLAKE2b hash algorithm defined by RFC 7693 and the extendable output function (XOF) BLAKE2Xb.
crypto/bn256
Package bn256 implements the Optimal Ate pairing over a 256-bit Barreto-Naehrig curve.
Package bn256 implements the Optimal Ate pairing over a 256-bit Barreto-Naehrig curve.
crypto/bn256/cloudflare
Package bn256 implements a particular bilinear group at the 128-bit security level.
Package bn256 implements a particular bilinear group at the 128-bit security level.
crypto/bn256/google
Package bn256 implements a particular bilinear group.
Package bn256 implements a particular bilinear group.
crypto/kzg4844
Package kzg4844 implements the KZG crypto for EIP-4844.
Package kzg4844 implements the KZG crypto for EIP-4844.
crypto/secp256k1
Package secp256k1 wraps the bitcoin secp256k1 C library.
Package secp256k1 wraps the bitcoin secp256k1 C library.
eth/catalyst
Package catalyst implements the temporary eth1/eth2 RPC integration.
Package catalyst implements the temporary eth1/eth2 RPC integration.
eth/downloader
Package downloader contains the manual full chain synchronisation.
Package downloader contains the manual full chain synchronisation.
eth/ethconfig
Package ethconfig contains the configuration of the ETH and LES protocols.
Package ethconfig contains the configuration of the ETH and LES protocols.
eth/fetcher
Package fetcher contains the announcement based header, blocks or transaction synchronisation.
Package fetcher contains the announcement based header, blocks or transaction synchronisation.
eth/filters
Package filters implements an ethereum filtering system for block, transactions and log events.
Package filters implements an ethereum filtering system for block, transactions and log events.
eth/tracers
Package tracers is a manager for transaction tracing engines.
Package tracers is a manager for transaction tracing engines.
eth/tracers/js/internal/tracers
Package tracers contains the actual JavaScript tracer assets.
Package tracers contains the actual JavaScript tracer assets.
ethclient
Package ethclient provides a client for the Ethereum RPC API.
Package ethclient provides a client for the Ethereum RPC API.
ethclient/gethclient
Package gethclient provides an RPC client for geth-specific APIs.
Package gethclient provides an RPC client for geth-specific APIs.
ethdb
Package ethdb defines the interfaces for an Ethereum data store.
Package ethdb defines the interfaces for an Ethereum data store.
ethdb/leveldb
Package leveldb implements the key-value database layer based on LevelDB.
Package leveldb implements the key-value database layer based on LevelDB.
ethdb/memorydb
Package memorydb implements the key-value database layer based on memory maps.
Package memorydb implements the key-value database layer based on memory maps.
ethdb/pebble
Package pebble implements the key-value database layer based on pebble.
Package pebble implements the key-value database layer based on pebble.
ethdb/remotedb
Package remotedb implements the key-value database layer based on a remote geth node.
Package remotedb implements the key-value database layer based on a remote geth node.
ethstats
Package ethstats implements the network stats reporting service.
Package ethstats implements the network stats reporting service.
event
Package event deals with subscriptions to real-time events.
Package event deals with subscriptions to real-time events.
graphql
Package graphql provides a GraphQL interface to Ethereum node data.
Package graphql provides a GraphQL interface to Ethereum node data.
internal/debug
Package debug interfaces Go runtime debugging facilities.
Package debug interfaces Go runtime debugging facilities.
internal/ethapi
Package ethapi implements the general Ethereum API functions.
Package ethapi implements the general Ethereum API functions.
internal/guide
Package guide is a small test suite to ensure snippets in the dev guide work.
Package guide is a small test suite to ensure snippets in the dev guide work.
internal/jsre
Package jsre provides execution environment for JavaScript.
Package jsre provides execution environment for JavaScript.
internal/jsre/deps
Package deps contains the console JavaScript dependencies Go embedded.
Package deps contains the console JavaScript dependencies Go embedded.
internal/reexec
This file originates from Docker/Moby, https://github.com/moby/moby/blob/master/pkg/reexec/reexec.go Licensed under Apache License 2.0: https://github.com/moby/moby/blob/master/LICENSE Copyright 2013-2018 Docker, Inc.
This file originates from Docker/Moby, https://github.com/moby/moby/blob/master/pkg/reexec/reexec.go Licensed under Apache License 2.0: https://github.com/moby/moby/blob/master/LICENSE Copyright 2013-2018 Docker, Inc.
internal/syncx
Package syncx contains exotic synchronization primitives.
Package syncx contains exotic synchronization primitives.
internal/testlog
Package testlog provides a log handler for unit tests.
Package testlog provides a log handler for unit tests.
internal/utesting
Package utesting provides a standalone replacement for package testing.
Package utesting provides a standalone replacement for package testing.
internal/version
Package version implements reading of build version information.
Package version implements reading of build version information.
internal/web3ext
Package web3ext contains geth specific web3.js extensions.
Package web3ext contains geth specific web3.js extensions.
les
Package les implements the Light Ethereum Subprotocol.
Package les implements the Light Ethereum Subprotocol.
les/flowcontrol
Package flowcontrol implements a client side flow control mechanism
Package flowcontrol implements a client side flow control mechanism
light
Package light implements on-demand retrieval capable state and chain objects for the Ethereum Light Client.
Package light implements on-demand retrieval capable state and chain objects for the Ethereum Light Client.
log
Package log15 provides an opinionated, simple toolkit for best-practice logging that is both human and machine readable.
Package log15 provides an opinionated, simple toolkit for best-practice logging that is both human and machine readable.
metrics
Go port of Coda Hale's Metrics library
Go port of Coda Hale's Metrics library
metrics/exp
Hook go-metrics into expvar on any /debug/metrics request, load all vars from the registry into expvar, and execute regular expvar handler
Hook go-metrics into expvar on any /debug/metrics request, load all vars from the registry into expvar, and execute regular expvar handler
metrics/prometheus
Package prometheus exposes go-metrics into a Prometheus format.
Package prometheus exposes go-metrics into a Prometheus format.
miner
Package miner implements Ethereum block creation and mining.
Package miner implements Ethereum block creation and mining.
miner/stress/clique
This file contains a miner stress test based on the Clique consensus engine.
This file contains a miner stress test based on the Clique consensus engine.
node
Package node sets up multi-protocol Ethereum nodes.
Package node sets up multi-protocol Ethereum nodes.
p2p
Package p2p implements the Ethereum p2p network protocols.
Package p2p implements the Ethereum p2p network protocols.
p2p/discover
Package discover implements the Node Discovery Protocol.
Package discover implements the Node Discovery Protocol.
p2p/discover/v4wire
Package v4wire implements the Discovery v4 Wire Protocol.
Package v4wire implements the Discovery v4 Wire Protocol.
p2p/dnsdisc
Package dnsdisc implements node discovery via DNS (EIP-1459).
Package dnsdisc implements node discovery via DNS (EIP-1459).
p2p/enr
Package enr implements Ethereum Node Records as defined in EIP-778.
Package enr implements Ethereum Node Records as defined in EIP-778.
p2p/msgrate
Package msgrate allows estimating the throughput of peers for more balanced syncs.
Package msgrate allows estimating the throughput of peers for more balanced syncs.
p2p/nat
Package nat provides access to common network port mapping protocols.
Package nat provides access to common network port mapping protocols.
p2p/netutil
Package netutil contains extensions to the net package.
Package netutil contains extensions to the net package.
p2p/rlpx
Package rlpx implements the RLPx transport protocol.
Package rlpx implements the RLPx transport protocol.
p2p/simulations
Package simulations simulates p2p networks.
Package simulations simulates p2p networks.
rlp
Package rlp implements the RLP serialization format.
Package rlp implements the RLP serialization format.
rlp/internal/rlpstruct
Package rlpstruct implements struct processing for RLP encoding/decoding.
Package rlpstruct implements struct processing for RLP encoding/decoding.
rpc
Package rpc implements bi-directional JSON-RPC 2.0 on multiple transports.
Package rpc implements bi-directional JSON-RPC 2.0 on multiple transports.
signer/fourbyte
Package fourbyte contains the 4byte database.
Package fourbyte contains the 4byte database.
tests
Package tests implements execution of Ethereum JSON tests.
Package tests implements execution of Ethereum JSON tests.
trie
Package trie implements Merkle Patricia Tries.
Package trie implements Merkle Patricia Tries.
Package nostr is a set of functions for pulling events from nostr and sending them to Arweave AO.
Package nostr is a set of functions for pulling events from nostr and sending them to Arweave AO.

Jump to

Keyboard shortcuts

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