go-web

command module
v0.0.0-...-a47669d Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2022 License: GPL-3.0 Imports: 7 Imported by: 0

README

go-web

a golang prototype application

1. Up and Running
# go env -w GOPROXY="https://goproxy.cn,direct"

go get

# bash scripts/go_build.sh

make run
2. Tips
  • test: unit test, integrity test

  • golang generic, generate, benchmark, build information

  • logging, telemetry, data collection(BI)

  • monitoring

  • databases: relational database, cache system, NoSQL, migration

  • toolchains: api test, ws test, subcommands, configurations

  • sevices:

    • http: register, login, logoff, basic auth, jwt-token, file upload and download, etc.
    • websocket
    • grpc
    • messaging queue: kafka
  • deployments:

    • docker (build image, docker-compose)
    • self-host docker image registry
    • ansible
    • kubernetes
3. Subsystems
  • logging: api, cron job, bussiness data;
  • cron job;
  • telemetry, monitoring and alerting;
  • messaging queue;
  • memory cache;
  • rpc;

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
bin
cmd
examples
biz
pkg
aliyun
Aliyun OSS API:
Aliyun OSS API:
aws
#### References: - https://us-east-1.console.aws.amazon.com/console/home?region=us-east-1 - https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_request.html - https://docs.aws.amazon.com/AmazonS3/latest/userguide/example-bucket-policies.html - https://docs.aws.amazon.com/code-samples/latest/catalog/go-s3-s3_copy_object.go.html - https://snyk.io/advisor/npm-package/@aws-sdk/client-s3/example - https://github.com/awsdocs/aws-doc-sdk-examples/blob/0f49111e99d1bd7d3ac11103051d731ee3eb519b/javascript/example_code/nodegetstarted/sampleV3.js
#### References: - https://us-east-1.console.aws.amazon.com/console/home?region=us-east-1 - https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_request.html - https://docs.aws.amazon.com/AmazonS3/latest/userguide/example-bucket-policies.html - https://docs.aws.amazon.com/code-samples/latest/catalog/go-s3-s3_copy_object.go.html - https://snyk.io/advisor/npm-package/@aws-sdk/client-s3/example - https://github.com/awsdocs/aws-doc-sdk-examples/blob/0f49111e99d1bd7d3ac11103051d731ee3eb519b/javascript/example_code/nodegetstarted/sampleV3.js
orm
wrap
Third Party Packags: - github.com/gin-gonic/gin - github.com/spf13/viper
Third Party Packags: - github.com/gin-gonic/gin - github.com/spf13/viper
scripts

Jump to

Keyboard shortcuts

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