Documentation
      ¶
    
    
  
    
  
    Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Stoppable ¶
type Stoppable interface {
	Stop()
	AwaitStopped()
}
    Stoppable support proactive stopping, and blocking until stopped.
func StartPluginAtPath ¶
func StartPluginAtPath(socketPath string, receiver VersionedInterface) (Stoppable, error)
StartPluginAtPath starts an HTTP server listening on a unix socket at the specified path. Returns a Stoppable that can be used to stop or block on the server.
type VersionedInterface ¶
type VersionedInterface interface {
	// ImplementedInterface returns the interface being provided.
	ImplementedInterface() spi.InterfaceSpec
}
    A VersionedInterface identifies which Interfaces a plugin supports.
 Click to show internal directories. 
   Click to hide internal directories.