pip install Flask
python service.py
package main | |
import ( | |
"fmt" | |
"time" | |
"github.com/gobuffalo/plush" | |
) | |
func main() { |
FROM centos:6 | |
RUN yum install -y centos-release-scl-rh && \ | |
yum install -y devtoolset-6-gcc rh-git29 \ | |
rh-python36 python27 \ | |
libtool autoconf automake cmake \ | |
gcc gcc-c++ make pkgconfig \ | |
unzip patch gettext | |
ENV HOME /root |
<?xml version="1.0"?> | |
<definitions name="StockQuote" | |
targetNamespace="http://example.com/stockquote/definitions" | |
xmlns:tns="http://example.com/stockquote/definitions" | |
xmlns:xsd1="http://example.com/stockquote/schemas" | |
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" | |
xmlns="http://schemas.xmlsoap.org/wsdl/"> | |
<import namespace="http://example.com/stockquote/schemas" |
tags |
version: '3' | |
services: | |
traefik: | |
image: traefik # The official Traefik docker image | |
command: --api -c traefik.toml #--docker # Enables the web UI and tells Traefik to listen to docker | |
ports: | |
- "80:80" # The HTTP port | |
- "8080:8080" # The Web UI (enabled by --api) | |
volumes: |
version: '3' | |
services: | |
traefik: | |
image: traefik # The official Traefik docker image | |
command: --api -c traefik.toml #--docker # Enables the web UI and tells Traefik to listen to docker | |
ports: | |
- "80:80" # The HTTP port | |
- "8080:8080" # The Web UI (enabled by --api) | |
volumes: |
package user | |
import "fmt" | |
func ShowUsers() int { | |
return 0 | |
} | |
func main() { | |
fmt.Println("vim-go") |
package main | |
import ( | |
"encoding/json" | |
"log" | |
"net/http" | |
"github.com/gorilla/mux" | |
) |
*.db | |
api_rest |