Add interface layer (#23)

* implement grpc interface

* rework GetEventStream rpc

* implement Ping & GetEventStream

* remove dev_portal

* Compile protos

* Empty gitignore

---------

Co-authored-by: altafan <18440657+altafan@users.noreply.github.com>
This commit is contained in:
Louis Singer
2023-12-01 17:13:28 +01:00
committed by GitHub
parent 7c2a70db91
commit c8d9db89c5
13 changed files with 1519 additions and 516 deletions

View File

@@ -1,22 +0,0 @@
package grpc_interface
import (
log "github.com/sirupsen/logrus"
)
// TODO: Edit this file to something more meaningful for your application.
type service struct {}
func NewService() (*service, error) {
return &service{}, nil
}
func (s *service) Start() error {
log.Debug("service is listening")
return nil
}
func (s *service) Stop() {
log.Debug("service stopped")
}