Documentation
¶
Index ¶
- func ListenAndServe(sock string, options ...Option) error
- func Serve(lis net.Listener, options ...Option) error
- func TempSocket(dir, pattern string) (string, error)
- type Option
- type Server
- func (s *Server) ListenAndServe(sock string) error
- func (s *Server) Open(ctx context.Context, req *uxv1alpha1.OpenRequest) (*uxv1alpha1.OpenResponse, error)
- func (s *Server) Output(name string) (io.Reader, error)
- func (s *Server) Serve(lis net.Listener) error
- func (s *Server) Server() *grpc.Server
- func (s *Server) Write(ctx context.Context, req *uxv1alpha1.WriteRequest) (*uxv1alpha1.WriteResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ListenAndServe ¶
func TempSocket ¶
Types ¶
type Server ¶
type Server struct {
uxv1alpha1.UnimplementedUxServiceServer
// contains filtered or unexported fields
}
func (*Server) ListenAndServe ¶
func (*Server) Open ¶
func (s *Server) Open(ctx context.Context, req *uxv1alpha1.OpenRequest) (*uxv1alpha1.OpenResponse, error)
func (*Server) Write ¶
func (s *Server) Write(ctx context.Context, req *uxv1alpha1.WriteRequest) (*uxv1alpha1.WriteResponse, error)
Click to show internal directories.
Click to hide internal directories.