Giter Site home page Giter Site logo

goreceptionloader's Introduction

#goreceptionloader

Much Win!

Scrapper for paralell load data to mysql/mariadb (similar for ETL), prepare data for reports

Describe

Project for start in docker stack for accumulate data from SMD service to reception DB auto rotate logging (log.txt), null dependencies + multistage docker image <15 mb

Example how to prepare and start

Start on host

go build
DSN="user:password@tcp(10.59.0.75:3306)/modx_reception" ./goreceptionloader
source ./.env   && export DSN && ./goreceptionloader

Docker

docker build -t melnikov-ea/goreceptionloader:v0.1.0 .
docker run --env-file .env melnikov-ea/goreceptionloader
docker run -it --entrypoint /bin/ash  --env-file .env melnikov-ea/goreceptionloader  --name goreceptionloader

Comment

[
{
    "requestId": "392",
    "number": "А26-05-84857211-СО1",
    "dt_modified": "2020-08-07 12:30:01.995389",
    "departmentId": "f1ae1eef-16ea-44cb-b77f-6b978ee4075d",
    "departmentName": "Администрация города Перми",
    "format": "Other",
    "formatName": "Другое",
    "isDirect": false,
    "createDate": "2020-08-03",
    "name": "Зайцева К.А.",
    "address": "Российская Федерация, Пермский край, г. Пермь",
    "email": "[email protected]",
    "receiveDate": "2020-08-07 12:30:01.995389",
    "dispatchDate": null,
    "uploadDate": null,
    "exceptionMessage": null,
    "questions": [
        {
            "code": "0005.0005.0055.1122",
            "status": "NotRegistered",
            "questionStatusName": "Не зарегистрировано",
            "incomingDate": "2020-08-04"
        }
    ]
}
]

goreceptionloader remember

tttest25 GitHub/tttest25 no Twitter/@

goreceptionloader's People

Contributors

eugenam avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.