package
0.20.0
Repository: https://github.com/foomo/posh-providers.git
Documentation: pkg.go.dev

# README

POSH gotsrpc provider

Usage

Plugin

package plugin

type Plugin struct {
	l        log.Logger
	commands command.Commands
}

func New(l log.Logger) (plugin.Plugin, error) {
	inst := &Plugin{
		l:        l,
		commands: command.Commands{},
	}

	// ...

  inst.commands.Add(postgres.NewCommand(l))

	// ...

	return inst, nil
}

Dependencies

This requires you to have:

  • psql
  • pg_dump
  • pg_restore

# Functions

No description provided by the author
No description provided by the author

# Structs

No description provided by the author

# Type aliases

No description provided by the author