MCPcopy Create free account
hub / github.com/Driver-C/tryssh / NewCreateController

Function NewCreateController

pkg/control/create.go:83–90  ·  view source on GitHub ↗

NewCreateController creates a new CreateController for the specified type and content.

(createType string, createContent string,
	configuration *config.MainConfig)

Source from the content-addressed store, hash-verified

81
82// NewCreateController creates a new CreateController for the specified type and content.
83func NewCreateController(createType string, createContent string,
84 configuration *config.MainConfig) *CreateController {
85 return &CreateController{
86 createType: createType,
87 createContent: createContent,
88 configuration: configuration,
89 }
90}

Calls

no outgoing calls