Documentation
¶
Overview ¶
Package service implements the XToProtoService gRPC service.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(defaultWorkspaceDir string, readFile FileReaderFunc, writeFile FileWriterFunc) sgrpcpb.XToProtoServiceServer
New returns a new XToProtoService.
defaultWorkspaceDir will be used for the workspace directory when no value is passed in with the request.
Types ¶
type FileReaderFunc ¶
FileReaderFunc is a function that returns the content of a file or an error.
Click to show internal directories.
Click to hide internal directories.