Documentation
¶
Index ¶
Constants ¶
View Source
const ( // Standard ports for the sonr grpc and rpc api endpoints. SonrGrpcPort = ":9090" SonrRpcPort = ":26657" // Prefix for the rpc endpoint. SonrRpcPrefix = "tcp://" // CurrentChainID is the current chain ID. CurrentChainID = "sonrdevnet-1" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Context ¶
type Context struct { TlsCertPath string TlsKeyPath string GlobalKvKsStore string GlobalInboxDocsStore string GlobalInboxEventsStore string HighwayMode string HomeDir string NodeHome string IPFSRepoPath string Rendevouz string BsMultiaddrs []string // contains filtered or unexported fields }
Context is a struct that holds the current context of the application.
func NewContext ¶
func NewContext() Context
func (Context) GrpcEndpoint ¶
func (Context) HasTlsCert ¶
func (Context) HighwayPort ¶
func (Context) IsHighwayConnect ¶
func (Context) IsHighwayFiber ¶
func (Context) RpcEndpoint ¶
Click to show internal directories.
Click to hide internal directories.