Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
杨树贤
/
search_server
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
7e638973
authored
Jun 28, 2020
by
孙龙
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
up
parent
04919e51
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
9 additions
and
8 deletions
bat/course.bat
bat/gw.bat
bat/gw_.bat
bat/user.bat
go.mod
bat/course.bat
View file @
7e638973
set MICRO_REGISTRY=etcd
set MICRO_REGISTRY_ADDRESS=localhost:2379
go run cmd/course_server.go --server_address :9091
\ No newline at end of file
set MICRO_REGISTRY_ADDRESS=192.168.2.232:2379
go run ../cmd/course_server.go --server_address :9091
\ No newline at end of file
bat/gw.bat
View file @
7e638973
set MICRO_REGISTRY=etcd
set MICRO_REGISTRY_ADDRESS=
localhost
:2379
set MICRO_REGISTRY_ADDRESS=
192.168.2.232
:2379
micro api
bat/gw_.bat
View file @
7e638973
set MICRO_REGISTRY=etcd
set MICRO_REGISTRY_ADDRESS=
localhost
:2379
set MICRO_REGISTRY_ADDRESS=
192.168.2.232
:2379
micro api
bat/user.bat
View file @
7e638973
set MICRO_REGISTRY=etcd
set MICRO_REGISTRY_ADDRESS=
localhost
:2379
set MICRO_REGISTRY_ADDRESS=
192.168.2.232
:2379
go run cmd/user_server.go --server_address :9090
\ No newline at end of file
go.mod
View file @
7e638973
...
...
@@ -5,7 +5,7 @@ go 1.14
require (
github.com/gin-contrib/cors v1.3.1
github.com/gin-gonic/gin v1.6.3
github.com/go-ini/ini v1.
44
.0
github.com/go-ini/ini v1.
57
.0
github.com/gogo/protobuf v1.3.1 // indirect
github.com/golang/protobuf v1.4.2
github.com/gomodule/redigo v2.0.1-0.20180401191855-9352ab68be13+incompatible
...
...
@@ -18,7 +18,7 @@ require (
github.com/jinzhu/gorm v1.9.12
github.com/micro/go-micro/v2 v2.5.0
github.com/prometheus/client_golang v1.5.1 // indirect
github.com/prometheus/common v0.
9.1
github.com/prometheus/common v0.
10.0
github.com/prometheus/procfs v0.0.11 // indirect
github.com/sirupsen/logrus v1.5.0 // indirect
github.com/smartystreets/goconvey v1.6.4 // indirect
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment