Documentation

Overview

    Package frontend implements the drone queen service.

    Index

    Constants

    This section is empty.

    Variables

    This section is empty.

    Functions

    func InstallHandlers

    func InstallHandlers(r *router.Router, mw router.MiddlewareChain)

      InstallHandlers installs the handlers implemented by the frontend package.

      Types

      type DroneQueenImpl

      type DroneQueenImpl struct {
      	// contains filtered or unexported fields
      }

        DroneQueenImpl implements service interfaces.

        func (*DroneQueenImpl) DeclareDuts

        func (q *DroneQueenImpl) DeclareDuts(ctx context.Context, req *api.DeclareDutsRequest) (res *api.DeclareDutsResponse, err error)

          DeclareDuts implements service interfaces.

          func (*DroneQueenImpl) ListDrones

          func (q *DroneQueenImpl) ListDrones(ctx context.Context, req *api.ListDronesRequest) (res *api.ListDronesResponse, err error)

            ListDrones implements service interfaces.

            func (*DroneQueenImpl) ListDuts

            func (q *DroneQueenImpl) ListDuts(ctx context.Context, req *api.ListDutsRequest) (res *api.ListDutsResponse, err error)

              ListDuts implements service interfaces.

              func (*DroneQueenImpl) ReleaseDuts

              func (q *DroneQueenImpl) ReleaseDuts(ctx context.Context, req *api.ReleaseDutsRequest) (res *api.ReleaseDutsResponse, err error)

                ReleaseDuts implements service interfaces.

                func (*DroneQueenImpl) ReportDrone

                func (q *DroneQueenImpl) ReportDrone(ctx context.Context, req *api.ReportDroneRequest) (res *api.ReportDroneResponse, err error)

                  ReportDrone implements service interfaces.