Documentation ¶
Overview ¶
Package shell contains a shell service, along with a gRPC server and client
Index ¶
Constants ¶
View Source
const SubtypeName = resource.SubtypeName("shell")
SubtypeName is the name of the type of service.
Variables ¶
View Source
var Subtype = resource.NewSubtype( resource.ResourceNamespaceRDK, resource.ResourceTypeService, SubtypeName, )
Subtype is a constant that identifies the shell service resource subtype.
Functions ¶
func NewServer ¶
func NewServer(s subtype.Service) pb.ShellServiceServer
NewServer constructs a framesystem gRPC service server.
func NewUnimplementedInterfaceError ¶ added in v0.1.0
func NewUnimplementedInterfaceError(actual interface{}) error
NewUnimplementedInterfaceError is used when there is a failed interface check.
func WrapWithReconfigurable ¶
func WrapWithReconfigurable(s interface{}) (resource.Reconfigurable, error)
WrapWithReconfigurable wraps a shell service as a Reconfigurable.
Types ¶
type Service ¶
type Service interface {
Shell(ctx context.Context) (input chan<- string, output <-chan Output, retErr error)
}
A Service handles shells for a local robot.
func NewClientFromConn ¶
func NewClientFromConn(ctx context.Context, conn rpc.ClientConn, name string, logger golog.Logger) Service
NewClientFromConn constructs a new Client from connection passed in.
Directories ¶
Path | Synopsis |
---|---|
Package builtin contains a shell service, along with a gRPC server and client
|
Package builtin contains a shell service, along with a gRPC server and client |
Package register registers all relevant shell models and also subtype specific functions
|
Package register registers all relevant shell models and also subtype specific functions |
Click to show internal directories.
Click to hide internal directories.