Documentation ¶
Index ¶
- type Controller
- type ControllerImpl
- func (s *ControllerImpl) InsertRow(ctx context.Context, in *pb.TimeSeriesDatum) (*empty.Empty, error)
- func (s *ControllerImpl) InsertRows(stream pb.GrowLog_InsertRowsServer) error
- func (s *ControllerImpl) Login(ctx context.Context, in *pb.UserCredential) (*pb.User, error)
- func (s *ControllerImpl) Register(ctx context.Context, in *pb.RegistrationInfo) (*pb.User, error)
- func (s *ControllerImpl) Select(in *pb.Filter, stream pb.GrowLog_SelectServer) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
func New ¶
func New(port int, databaseUrl string) *Controller
func (*Controller) RunMainRuntimeLoop ¶
func (s *Controller) RunMainRuntimeLoop()
Function will consume the main runtime loop and run the business logic of the application.
func (*Controller) StopMainRuntimeLoop ¶
func (s *Controller) StopMainRuntimeLoop()
Function will tell the application to stop the main runtime loop when the process has been finished.
type ControllerImpl ¶
type ControllerImpl struct { pb.GrowLogServer // contains filtered or unexported fields }
func (*ControllerImpl) InsertRow ¶
func (s *ControllerImpl) InsertRow(ctx context.Context, in *pb.TimeSeriesDatum) (*empty.Empty, error)
func (*ControllerImpl) InsertRows ¶
func (s *ControllerImpl) InsertRows(stream pb.GrowLog_InsertRowsServer) error
func (*ControllerImpl) Login ¶
func (s *ControllerImpl) Login(ctx context.Context, in *pb.UserCredential) (*pb.User, error)
func (*ControllerImpl) Register ¶
func (s *ControllerImpl) Register(ctx context.Context, in *pb.RegistrationInfo) (*pb.User, error)
func (*ControllerImpl) Select ¶
func (s *ControllerImpl) Select(in *pb.Filter, stream pb.GrowLog_SelectServer) error
Click to show internal directories.
Click to hide internal directories.