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
b85fddcc
authored
Jun 29, 2020
by
huangchengyi
Browse files
Options
_('Browse Files')
Download
Plain Diff
Merge branch 'master' of
http://119.23.72.7/mushishixian/search_server
parents
81f6d2b5
7b9e605b
Show whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
12 additions
and
12 deletions
bat/coursehttp.bat
bat/gw.bat
bat/gw_.bat
cmd/logs/2020-06-15.log → bat/logs/2020-06-28.log
cmd/logs/2020-06-15.log.wf → bat/logs/2020-06-28.log.wf
bat/user.bat
cmd/logs/.gitignore
controller/course_topic_controller.go
framework/gin_/ServiceBuilder.go → framework/gin_/service_builder.go
framework/gin_/ServiceHelper.go → framework/gin_/service_helper.go
framework/gin_/ServiceUtil.go → framework/gin_/service_util.go
go.mod
bat/coursehttp.bat
View file @
b85fddcc
set MICRO_REGISTRY=etcd
set MICRO_REGISTRY_ADDRESS=192.168.2.232:2379
go run ../cmd/course_http_server.go
\ No newline at end of file
go run ../cmd/course_http_server.go -config=../conf/config.ini
\ No newline at end of file
bat/gw.bat
View file @
b85fddcc
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 @
b85fddcc
set MICRO_REGISTRY=etcd
set MICRO_REGISTRY_ADDRESS=
localhost
:2379
set MICRO_REGISTRY_ADDRESS=
192.168.2.232
:2379
micro api
cmd/logs/2020-06-15
.log
→
bat/logs/2020-06-28
.log
View file @
b85fddcc
File moved
cmd/logs/2020-06-15
.log.wf
→
bat/logs/2020-06-28
.log.wf
View file @
b85fddcc
File moved
bat/user.bat
View file @
b85fddcc
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
cmd/logs/.gitignore
deleted
100644 → 0
View file @
81f6d2b5
*
!.gitignore
\ No newline at end of file
controller/course_topic_controller.go
View file @
b85fddcc
...
...
@@ -7,7 +7,7 @@ import (
"search_server/service"
)
func
Init2
()
{
func
init
()
{
courseService
:=
service
.
NewCourseTopicServiceImpl
()
gin_
.
NewBuilder
()
.
WithService
(
courseService
)
.
WithMiddleware
(
Check_Middleware
())
.
...
...
framework/gin_/
ServiceB
uilder.go
→
framework/gin_/
service_b
uilder.go
View file @
b85fddcc
File moved
framework/gin_/
ServiceH
elper.go
→
framework/gin_/
service_h
elper.go
View file @
b85fddcc
File moved
framework/gin_/
ServiceU
til.go
→
framework/gin_/
service_u
til.go
View file @
b85fddcc
package
gin_
import
"github.com/gin-gonic/gin"
import
(
"github.com/gin-gonic/gin"
)
var
HandlerMap
map
[
string
]
map
[
string
]
gin
.
HandlerFunc
...
...
go.mod
View file @
b85fddcc
...
...
@@ -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
...
...
@@ -23,7 +23,7 @@ require (
github.com/micro/micro/v2 v2.9.1 // indirect
github.com/micro/protoc-gen-micro v1.0.0 // indirect
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