dbservice

command
v0.0.0-...-26b160e Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

README

Template Service

This is the Template service

Generated with

micro new github.com/kennyzhu/go-os/dbservice --namespace=go.micro --alias=template --type=srv

Getting Started

Configuration

  • FQDN: go.micro.srv.template
  • Type: srv
  • Alias: template

Dependencies

Micro services depend on service discovery. The default is consul.

# install consul
brew install consul

# run consul
consul agent -dev

Usage

A Makefile is included for convenience

Build the binary

make build

Run the service

./template-srv

Build a docker image

make docker

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
api
conf
@Time : 2018/8/21 11:32 @Author : kenny zhu @File : conf.go @Software: GoLand @Others: @Time : 2018/8/21 11:28 @Author : kenny zhu @File : json.go @Software: GoLand @Others:
@Time : 2018/8/21 11:32 @Author : kenny zhu @File : conf.go @Software: GoLand @Others: @Time : 2018/8/21 11:28 @Author : kenny zhu @File : json.go @Software: GoLand @Others:
gin
gin/modules
@Time : 2018/8/21 11:19 @Author : kenny zhu @File : examples.go @Software: GoLand @Others: @Time : 2018/8/21 11:04 @Author : kenny zhu @File : init.go @Software: GoLand @Others: @Time : 2018/8/21 11:05 @Author : kenny zhu @File : modules.go @Software: GoLand @Others:
@Time : 2018/8/21 11:19 @Author : kenny zhu @File : examples.go @Software: GoLand @Others: @Time : 2018/8/21 11:04 @Author : kenny zhu @File : init.go @Software: GoLand @Others: @Time : 2018/8/21 11:05 @Author : kenny zhu @File : modules.go @Software: GoLand @Others:
iris
@Time : 2018/8/21 10:55 @Author : kenny zhu @File : iris.go @Software: GoLand @Others:
@Time : 2018/8/21 10:55 @Author : kenny zhu @File : iris.go @Software: GoLand @Others:
iris/modules
@Time : 2018/8/21 11:19 @Author : kenny zhu @File : examples.go @Software: GoLand @Others: @Time : 2018/8/21 11:04 @Author : kenny zhu @File : init.go @Software: GoLand @Others: @Time : 2018/8/21 11:05 @Author : kenny zhu @File : modules.go @Software: GoLand @Others:
@Time : 2018/8/21 11:19 @Author : kenny zhu @File : examples.go @Software: GoLand @Others: @Time : 2018/8/21 11:04 @Author : kenny zhu @File : init.go @Software: GoLand @Others: @Time : 2018/8/21 11:05 @Author : kenny zhu @File : modules.go @Software: GoLand @Others:
modules
@Time : 2018/8/21 11:19 @Author : kenny zhu @File : examples.go @Software: GoLand @Others: @Time : 2018/8/21 11:04 @Author : kenny zhu @File : init.go @Software: GoLand @Others: @Time : 2018/8/21 11:05 @Author : kenny zhu @File : modules.go @Software: GoLand @Others:
@Time : 2018/8/21 11:19 @Author : kenny zhu @File : examples.go @Software: GoLand @Others: @Time : 2018/8/21 11:04 @Author : kenny zhu @File : init.go @Software: GoLand @Others: @Time : 2018/8/21 11:05 @Author : kenny zhu @File : modules.go @Software: GoLand @Others:
Every handler runs in a goroutine.
Every handler runs in a goroutine.
@Time : 2018/8/15 19:05 @Author : kenny zhu @File : base.go @Software: GoLand @Others: model base operation @refer:github.com/go-tango/wego/blob/master/models/base.go.
@Time : 2018/8/15 19:05 @Author : kenny zhu @File : base.go @Software: GoLand @Others: model base operation @refer:github.com/go-tango/wego/blob/master/models/base.go.
maps
@Time : 2018/9/26 16:21 @Author : kenny zhu @File : sample_impl.go @Software: GoLand @Others: 此文件需要用proteus工具生成对应的micro server文件...
@Time : 2018/9/26 16:21 @Author : kenny zhu @File : sample_impl.go @Software: GoLand @Others: 此文件需要用proteus工具生成对应的micro server文件...
proto
api
Package go_micro_api is a generated protocol buffer package.
Package go_micro_api is a generated protocol buffer package.
example
Package go_micro_srv_dbservice is a generated protocol buffer package.
Package go_micro_srv_dbservice is a generated protocol buffer package.
usercenter
Package models is a generated protocol buffer package.
Package models is a generated protocol buffer package.
@Time : 2018/9/4 12:41 @Author : kenny zhu @File : base.go @Software: GoLand @Others: https://godoc.org/github.com/gomodule/redigo/redis#pkg-examples
@Time : 2018/9/4 12:41 @Author : kenny zhu @File : base.go @Software: GoLand @Others: https://godoc.org/github.com/gomodule/redigo/redis#pkg-examples
@Time : 2018/8/24 14:22 @Author : kenny zhu @File : selector_byid.go @Software: GoLand @Others: Implements multi-database for route services...
@Time : 2018/8/24 14:22 @Author : kenny zhu @File : selector_byid.go @Software: GoLand @Others: Implements multi-database for route services...
tools
example
Package example is a generated protocol buffer package.
Package example is a generated protocol buffer package.
example/cli
@Time : 2018/10/10 16:41 @Author : kenny zhu @File : main.go @Software: GoLand @Others:
@Time : 2018/10/10 16:41 @Author : kenny zhu @File : main.go @Software: GoLand @Others:

Jump to

Keyboard shortcuts

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