restapi

command module
v0.0.0-...-76c1244 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2019 License: MIT Imports: 3 Imported by: 0

README

run api

set env:
    MARIADB_DATABASE=uranus_local;MARIADB_USER=root;MARIADB_PASSWORD=abc123123;MARIADB_HOST=127.0.0.1

go build:
    go build -o restapi
    
run:
    bee run -gendoc=true -downdoc=true
    
run by restapi:
    ./restapi

build image

docker build -t restapi-1.0.0 .

run in kubernetes cluster

kubectl apply -f deploy-k8s.yml

How to implement application deployment in kubenets?

https://blog.csdn.net/weixin_41806245/article/details/93745532

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
@APIVersion 1.0.0 @Title Backend Service API @Description Backend Service API @TermsOfServiceUrl http://beego.me/ @Contact astaxie@gmail.com @License MIT License @LicenseUrl https://opensource.org/licenses/MIT
@APIVersion 1.0.0 @Title Backend Service API @Description Backend Service API @TermsOfServiceUrl http://beego.me/ @Contact astaxie@gmail.com @License MIT License @LicenseUrl https://opensource.org/licenses/MIT

Jump to

Keyboard shortcuts

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