mirror of
https://github.com/aljazceru/ark.git
synced 2025-12-18 04:34:19 +01:00
committed by
GitHub
parent
28db168af0
commit
0210d39866
22
asp/internal/interface/grpc/service.go
Executable file
22
asp/internal/interface/grpc/service.go
Executable file
@@ -0,0 +1,22 @@
|
||||
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")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user