gowebserver

command module
v0.0.0-...-572a5f6 Latest Latest
Warning

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

Go to latest
Published: Dec 26, 2016 License: GPL-3.0 Imports: 37 Imported by: 0

README

Documentation

Overview

Config file for running MarketX server Reads in secret variables from the running environment. In the future it should read and parse default values with their respective types.

Constants for MarketX server These are not "typed" for simplicity as name prefixes imply underlying types and database saving schema. If manipulations need to be done on the types, they should be aliased.

MarketX specific use cases of DocuSign API Currently only supports envelope creation from template, embedded signing and document download. In public domain due to the fact that these APIs should be.

MarketX specific use cases of HelloSign API Currently only supports the embedded signature request with template. In public domain due to the fact that these APIs should be.

Internationalization and localization maps Golang text package is not ready so custom construction is done here.

General smtp mailer utilities

Entry point for MarketX server

Router (based on httprouter) for MarketX functions

Router branch for /account/ operations

Router branch for /admin/company/ operations

Router branch for /admin/deal/ operations

Router branch for /admin/user/ operations

Router branch for /company/ operations

Router branch for /deal/ operations

Router branch for /user/ operations

Router branch for /wechat/ operations

Database schema for MarketX Uses gorm to manage postgresql connections and structures.

MarketX specific use cases of North Capital's Transact API: https://api-docs.norcapsecurities.com Since this API is perhaps not going to be re-used in the future, an obligatory "package transact" was not created, but instead this customized version of MarketX Transact, MXT API is formed here. MXT API only handles the db User struct but is db agnostic to leave the API clean with the minimum requirements. All the API calls are in public domain in case of future package organizations and public exposures.

Provides an even more specific wrapper for a param validator Validator functions are exported as public since they are not MarketX specific checks.

Jump to

Keyboard shortcuts

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