Documentation ¶
Overview ¶
Copyright 2009 The Go Authors. All rights reserved. Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
Index ¶
- Variables
- func GenerateCert(host, validFrom *string, validFor *time.Duration, isCA *bool, rsaBits *int) (certName, keyName string)
- type StubDbClient
- func (StubDbClient *StubDbClient) Close()
- func (StubDbClient *StubDbClient) Log(interface{})
- func (StubDbClient *StubDbClient) QueryInsertUpdate(query string, args ...interface{}) error
- func (StubDbClient *StubDbClient) QueryMapFirstColumnToRow(query string, args ...interface{}) (map[string][]string, error)
- func (StubDbClient *StubDbClient) QueryReturnColumnDict(query string, args ...interface{}) (map[string][]string, error)
- func (StubDbClient *StubDbClient) ValidateInsertStatement(query string, args ...interface{}) error
Constants ¶
This section is empty.
Variables ¶
Functions ¶
Types ¶
type StubDbClient ¶
stub a database client
func (*StubDbClient) Close ¶
func (StubDbClient *StubDbClient) Close()
func (*StubDbClient) Log ¶
func (StubDbClient *StubDbClient) Log(interface{})
func (*StubDbClient) QueryInsertUpdate ¶
func (StubDbClient *StubDbClient) QueryInsertUpdate(query string, args ...interface{}) error
func (*StubDbClient) QueryMapFirstColumnToRow ¶
func (StubDbClient *StubDbClient) QueryMapFirstColumnToRow(query string, args ...interface{}) (map[string][]string, error)
func (*StubDbClient) QueryReturnColumnDict ¶
func (StubDbClient *StubDbClient) QueryReturnColumnDict(query string, args ...interface{}) (map[string][]string, error)
func (*StubDbClient) ValidateInsertStatement ¶
func (StubDbClient *StubDbClient) ValidateInsertStatement(query string, args ...interface{}) error
Click to show internal directories.
Click to hide internal directories.