Documentation ¶
Index ¶
Constants ¶
View Source
const DefaultDBTimeout = 5
View Source
const RSABits = 1024
Variables ¶
This section is empty.
Functions ¶
func CreateDatabase ¶
func GetDBConfig ¶
func RemoveDatabase ¶
Types ¶
type CertWriter ¶
type CertWriter struct { CertPath string // contains filtered or unexported fields }
func NewCertWriter ¶
func NewCertWriter(certPath string) (*CertWriter, error)
func (*CertWriter) WriteAndSign ¶
func (c *CertWriter) WriteAndSign(commonName, caName string) (string, string, error)
type ParallelRunner ¶
type ParallelRunner struct {
NumWorkers int
}
func (*ParallelRunner) RunOnChannel ¶
func (p *ParallelRunner) RunOnChannel(queue chan interface{}, workFunc func(item interface{}))
func (*ParallelRunner) RunOnSlice ¶
func (p *ParallelRunner) RunOnSlice(items []interface{}, workFunc func(item interface{}))
func (*ParallelRunner) RunOnSliceStrings ¶
func (p *ParallelRunner) RunOnSliceStrings(someStrings []string, workFunc func(aString string))
Source Files ¶
Click to show internal directories.
Click to hide internal directories.