예제 #1
0
func NewDownloadDataSource(conn *models.Connections, config *agentdesks.Config) *DownloadDataSource {
	return &DownloadDataSource{
		conn:   conn,
		helper: helpers.NewImageHelper(config),
	}
}
예제 #2
0
func NewDeleteDataSource(conn *models.Connections, conf *agentdesks.Config) *DeleteDataSource {
	return &DeleteDataSource{
		connect: conn,
		helper:  helpers.NewImageHelper(conf),
	}
}