Documentation ¶
Index ¶
- func New(ctx context.Context, app *events.App) (*grpc.Server, error)
- type HealthServer
- type Server
- func (s *Server) Get(ctx context.Context, request *protos.GetReq) (*protos.Event, error)
- func (s *Server) Pub(ctx context.Context, request *protos.PubReq) (*protos.PubRes, error)
- func (s *Server) Scan(ctx context.Context, request *protos.ScanReq) (*protos.ScanRes, error)
- func (s *Server) Sub(req *protos.SubReq, srv protos.Events_SubServer) error
- type Service
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type HealthServer ¶
type HealthServer struct { protos.HealthServer // contains filtered or unexported fields }
func (HealthServer) Check ¶
func (s HealthServer) Check(ctx context.Context, req *protos.HealthCheckRequest) (*protos.HealthCheckResponse, error)
func (HealthServer) Watch ¶
func (s HealthServer) Watch(req *protos.HealthCheckRequest, srv protos.Health_WatchServer) error
type Server ¶
type Server struct { protos.EventsServer // contains filtered or unexported fields }
Click to show internal directories.
Click to hide internal directories.