Documentation ¶
Overview ¶
Package node contains the webmesh node service.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Options ¶ added in v0.3.0
type Options struct { NodeID types.NodeID Storage storage.Provider Meshnet meshnet.Manager NodeDialer transport.NodeDialer Plugins plugins.Manager Features []*v1.FeaturePort }
Options are options for the Node service.
type Server ¶
type Server struct { v1.UnimplementedNodeServer Options // contains filtered or unexported fields }
Server is the webmesh node service.
func NewServer ¶
NewServer returns a new Server. Features are used for returning what features are enabled. It is the callers responsibility to ensure those servers are registered on the node. Insecure is used to disable authorization.
func (*Server) NegotiateDataChannel ¶
func (s *Server) NegotiateDataChannel(stream v1.Node_NegotiateDataChannelServer) error
Click to show internal directories.
Click to hide internal directories.