Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AllowServicedChainMessages ¶
func AllowServicedChainMessages(servicedChainId uint8)
ALlowServicedChainMessages allows handlers to register a single chain to allow through marlin side connector. Initially there is no blockchain message allowed to passthrough. One can register the chainId to look for in messages correspoding to chains available in marlinTypes.servicedChains to allow.
func RunDataConnectHandler ¶
func RunDataConnectHandler(marlinAddr string, marlinTo chan marlinTypes.MarlinMessage, marlinFrom chan marlinTypes.MarlinMessage, direction string)
Run acts as the entry point to marlin side connection logic for data connect interface. Marlin Side Connector requires two channels for sending / recieving messages from peer side connector.
func RunSpamFilterHandler ¶
func RunSpamFilterHandler(marlinAddr string, marlinTo chan marlinTypes.MarlinMessage, marlinFrom chan marlinTypes.MarlinMessage)
Run acts as the entry point to marlin side connection logic for data connect interface. Marlin Side Connector requires two channels for sending / recieving messages from peer side connector.
Types ¶
type MarlinHandler ¶
type MarlinHandler struct {
// contains filtered or unexported fields
}