26 lines
400 B
Go
26 lines
400 B
Go
|
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
|
||
|
}
|
||
|
|