defaults

package
v0.0.0-...-05bc493 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// TypeReply is Type for messages with insolar.Reply in Payload
	TypeReply = "reply"

	// TypeReturnResults is Type of messages with *payload.ReturnResults in Payload
	// should be handled by contractrequester
	TypeReturnResults = "returnresults"
)
View Source
const (
	// Pulse is key for Pulse
	Pulse = "pulse"

	// Type is key for Type
	Type = "type"

	// Sender is key for Sender
	Sender = "sender"

	// Receiver is key for Receiver
	Receiver = "receiver"

	// TraceID is key for traceID
	TraceID = "TraceID"

	// SpanData is key for a span data
	SpanData = "SpanData"
)
View Source
const (
	// TopicOutgoing is topic for external calls
	TopicOutgoing = "TopicOutgoing"

	// TopicIncoming is topic for incoming calls
	TopicIncoming = "TopicIncoming"

	// TopicIncomingRequestResults is topic for handling incoming RequestResults messages
	TopicIncomingRequestResults = "TopicIncomingRequestResults"
)

Variables

View Source
var RootModule = "github.com/insolar/assured-ledger/ledger-core"

RootModule holds root module name.

Functions

func ArtifactsDir

func ArtifactsDir() string

ArtifactsDir returns path of artifacts dir.

func ContractBuildTmpDir

func ContractBuildTmpDir(prefix string) string

func LaunchnetDir

func LaunchnetDir() string

LaunchnetDir returns path of launchnet's artifacts dir.

func LaunchnetDiscoveryNodesLogsDir

func LaunchnetDiscoveryNodesLogsDir() string

LaunchnetDiscoveryNodesLogsDir returns path to dir with launchnet's discovery nodes logs.

func PathWithBaseDir

func PathWithBaseDir(path string, base string) string

PathWithBaseDir adds base path to path if path is not absolute.

func RootModuleDir

func RootModuleDir() string

RootModuleDir returns abs path to root module for any package where it's called.

Types

This section is empty.

Jump to

Keyboard shortcuts

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