go-web

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

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

Go to latest
Published: May 22, 2023 License: GPL-3.0 Imports: 14 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
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
kafka
#### references: - https://medium.com/event-driven-utopia/understanding-kafka-topic-partitions-ae40f80552e8 - https://silverback-messaging.net/concepts/broker/kafka/kafka-partitioning.html?tabs=destination-partition-fluent%2Cenricher-fluent%2Cconcurrency-fluent%2Cassignment-fluent - https://www.youtube.com/watch?v=JalUUBKdcA0
#### references: - https://medium.com/event-driven-utopia/understanding-kafka-topic-partitions-ae40f80552e8 - https://silverback-messaging.net/concepts/broker/kafka/kafka-partitioning.html?tabs=destination-partition-fluent%2Cenricher-fluent%2Cconcurrency-fluent%2Cassignment-fluent - https://www.youtube.com/watch?v=JalUUBKdcA0
orm
vocechat
A golang client for Vocechat
A golang client for Vocechat
wrap
#### Packages
#### Packages
scripts

Jump to

Keyboard shortcuts

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