controllers

package
v0.0.0-...-93b5f13 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 7, 2021 License: ISC Imports: 11 Imported by: 0

Documentation

Index

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL