Skip to content

Commit

Permalink
docs: update plugin template
Browse files Browse the repository at this point in the history
  • Loading branch information
wuriyanto48 committed Nov 3, 2024
1 parent eed72ba commit b957f84
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions docs/plugin/templateplugin.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,19 +71,14 @@ func (d *TemplatePlugin) Connect() error {
d.stopChan = make(chan bool, 1)
}

if d.verbose {
d.logger.Println("connect dummy")
}
d.logger.Println("connect dummy plugin")

return nil
}

// Close will close the service resources if needed
func (d *TemplatePlugin) Close() error {
if d.verbose {
d.logger.Println("close dummy plugin")
}

d.logger.Println("close dummy plugin")
return nil
}

Expand Down

0 comments on commit b957f84

Please sign in to comment.