gotrade: github.com/cyanly/gotrade/services/marketconnectors/common Index | Files | Directories

package common

import "github.com/cyanly/gotrade/services/marketconnectors/common"

Index

Package Files

config.go

Constants

const (
    // DefaultMessageBusURL is the default MessageBus URL for service communications.
    DefaultMessageBusURL = messagebus.DefaultUrl
)

type Config Uses

type Config struct {
    MessageBusURL  string `json:"mc_message_bus"`
    DatabaseDriver string `json:"database_driver"` //database storage engine driver
    DatabaseUrl    string `json:"database_url"`    //database connection string

    MarketConnectorName string
}

Config represents the configuration for base service.

func NewConfig Uses

func NewConfig() Config

NewConfig returns an instance of Config with defaults.

Directories

PathSynopsis
orderA common FIX Client required by QuickFIX, should work for most of market connectors.

Package common imports 1 packages (graph) and is imported by 2 packages. Updated 2016-07-20. Refresh now. Tools for package owners.