Documentation

Overview

    Package db is where all database-specific code which maintains Maestro state and configuration resides.

    Index

    Constants

    This section is empty.

    Variables

    This section is empty.

    Functions

    func InitDb

    func InitDb(cfg Config) (*pgDb, error)

      Given a database config, return an instance which satisfies the model.Db interface for all database operations.

      Types

      type Config

      type Config struct {
      	ConnectString string
      	Prefix        string
      	Secret        string
      }

      Source Files