SBMConnect

package
v0.0.0-...-9594e05 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 3, 2015 License: GPL-2.0 Imports: 8 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

View Source
var LDAPCounter = int(0)

Functions

This section is empty.

Types

type LDAP

type LDAP struct {
	CS int
	D  *ldap.Conn
}

func (*LDAP) CheckGroupMember

func (_s *LDAP) CheckGroupMember(rLog SBMSystem.LogFile, user, group, baseDN string) int

func (*LDAP) Close

func (_s *LDAP) Close()

func (*LDAP) Init

func (_s *LDAP) Init(conf SBMSystem.ReadJSONConfig, rLog SBMSystem.LogFile) int

func (*LDAP) InitS

func (_s *LDAP) InitS(rLog SBMSystem.LogFile, user, password, server string) int

type MySQL

type MySQL struct {
	D *sql.DB
}

func (*MySQL) Close

func (_s *MySQL) Close()

func (*MySQL) Init

func (_s *MySQL) Init(conf SBMSystem.ReadJSONConfig, initDB string) int

func (*MySQL) QSimple

func (_s *MySQL) QSimple(query ...interface{}) int

type PgSQL

type PgSQL struct {
	D *sql.DB
}

func (*PgSQL) Close

func (_s *PgSQL) Close()

func (*PgSQL) Init

func (_s *PgSQL) Init(conf SBMSystem.ReadJSONConfig, initDB string) int

func (*PgSQL) QSimple

func (_s *PgSQL) QSimple(query ...interface{}) int

type SQLite

type SQLite struct {
	D *sql.DB
}

func (*SQLite) Close

func (_s *SQLite) Close()

func (*SQLite) Init

func (_s *SQLite) Init(conf SBMSystem.ReadJSONConfig, initDB string) int

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL