PostgreSQL loadable plugin
Source
11
11
** Unless required by applicable law or agreed to in writing, software
12
12
** distributed under the License is distributed on an "AS IS" BASIS,
13
13
** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
14
** See the License for the specific language governing permissions and
15
15
** limitations under the License.
16
16
**/
17
17
18
18
package plugin
19
19
20
20
import (
21
-
"git.zabbix.com/ap/plugin-support/conf"
22
-
"git.zabbix.com/ap/plugin-support/plugin"
21
+
"golang.zabbix.com/sdk/conf"
22
+
"golang.zabbix.com/sdk/plugin"
23
23
)
24
24
25
25
// Session struct holds individual options for PostgreSQL connection for each session.
26
26
type Session struct {
27
27
// URI is a connection string consisting of a network scheme, a host address and a port or a path to a Unix-socket.
28
28
URI string `conf:"name=Uri,optional"`
29
29
30
30
// User of PostgreSQL server.
31
31
User string `conf:"optional"`
32
32