Documentation
¶
Index ¶
Constants ¶
View Source
const Name = "system/os"
Name identifies this service for MCP routing.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetEnvInput ¶
type GetEnvInput struct {
Names []string `json:"names" description:"Names of environment variables to read"`
}
GetEnvInput specifies environment variable names to read.
type GetEnvOutput ¶
GetEnvOutput returns values for variables that exist.
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service exposes OS-related helper functions.
func (*Service) CacheableMethods ¶ added in v0.1.7
CacheableMethods declares which methods produce cacheable outputs.
func (*Service) Method ¶
func (s *Service) Method(name string) (svc.Executable, error)
Method maps a method name to its executable implementation.
func (*Service) Methods ¶
func (s *Service) Methods() svc.Signatures
Methods returns supported method signatures.
Click to show internal directories.
Click to hide internal directories.