Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Message ¶
type Message struct {
Type MessageType `json:"type"`
}
type MessageType ¶
type MessageType string
Add message types
const ( Ping MessageType = "ping" Pong MessageType = "pong" )
type UnixSocketServer ¶
type UnixSocketServer struct {
// contains filtered or unexported fields
}
func Start ¶
func Start(path string, vaultTxChan <-chan *types.VaultTransaction) (*UnixSocketServer, error)
func (*UnixSocketServer) Close ¶
func (s *UnixSocketServer) Close() error
func (*UnixSocketServer) ConnectionCount ¶
func (s *UnixSocketServer) ConnectionCount() int
Click to show internal directories.
Click to hide internal directories.