Documentation ¶
Overview ¶
Package pro implements the Pro gRPC service.
Index ¶
- type Option
- type Service
- func (s *Service) ProAttach(ctx context.Context, req *pb.ProAttachRequest) (*pb.ProAttachResponse, error)
- func (s *Service) ProMagicAttach(req *emptypb.Empty, stream pb.ProService_ProMagicAttachServer) error
- func (s *Service) ProStatus(ctx context.Context, _ *emptypb.Empty) (*wrapperspb.BoolValue, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct { pb.UnimplementedProServiceServer // contains filtered or unexported fields }
Service is the implementation of the Pro service.
func (*Service) ProAttach ¶
func (s *Service) ProAttach(ctx context.Context, req *pb.ProAttachRequest) (*pb.ProAttachResponse, error)
ProAttach attaches a contract token to the system.
func (*Service) ProMagicAttach ¶
func (s *Service) ProMagicAttach(req *emptypb.Empty, stream pb.ProService_ProMagicAttachServer) error
ProMagicAttach streams a user code and waits on a contract token from the pro server to preform a magic attach.
Click to show internal directories.
Click to hide internal directories.