first commit
This commit is contained in:
commit
9a1ab3ee7f
19
.gitignore
vendored
Normal file
19
.gitignore
vendored
Normal file
@ -0,0 +1,19 @@
|
||||
# Created by .ignore support plugin (hsz.mobi)
|
||||
### Go template
|
||||
# Binaries for programs and plugins
|
||||
*.exe
|
||||
*.dll
|
||||
*.so
|
||||
*.dylib
|
||||
|
||||
# Test binary, build with `go test -c`
|
||||
*.test
|
||||
|
||||
# Output of the go coverage tool, specifically when used with LiteIDE
|
||||
*.out
|
||||
|
||||
# Project-local glide cache, RE: https://github.com/Masterminds/glide/issues/736
|
||||
.glide/
|
||||
|
||||
.idea/
|
||||
*.iml
|
1
data/data.go
Normal file
1
data/data.go
Normal file
@ -0,0 +1 @@
|
||||
package data
|
25
data/rpc_impl.go
Normal file
25
data/rpc_impl.go
Normal file
@ -0,0 +1,25 @@
|
||||
package data
|
||||
|
||||
import (
|
||||
gt "loafle.com/overflow/central_api_gateway/data"
|
||||
"golang.org/x/net/context"
|
||||
)
|
||||
|
||||
|
||||
|
||||
type DataServerImpl struct {
|
||||
|
||||
}
|
||||
|
||||
func (d *DataServerImpl)SendMetric(context.Context, *gt.CollectedData) (*gt.Empty, error) {
|
||||
et := >.Empty{}
|
||||
|
||||
return et, nil
|
||||
}
|
||||
|
||||
func (d *DataServerImpl)SendMeta(context.Context, *gt.CollectedData) (*gt.Empty, error) {
|
||||
et := >.Empty{}
|
||||
|
||||
return et, nil
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user