github.com/wanddynosios/cli/v8@v8.7.9-0.20240221182337-1a92e3a7017f/actor/pluginaction/actor.go (about)

     1  // Package pluginaction handles all operations related to plugin commands
     2  package pluginaction
     3  
     4  // Actor handles all plugin actions
     5  type Actor struct {
     6  	config Config
     7  	client PluginClient
     8  }
     9  
    10  // NewActor returns a pluginaction Actor
    11  func NewActor(config Config, client PluginClient) *Actor {
    12  	return &Actor{config: config, client: client}
    13  }