server

package
v0.0.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 26, 2025 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ListenAndServe

func ListenAndServe(sock string, options ...Option) error

func Serve

func Serve(lis net.Listener, options ...Option) error

func TempSocket

func TempSocket(dir, pattern string) (string, error)

Types

type Option

type Option func(*Server)

func WithInput

func WithInput(name string, r io.Reader) Option

func WithInputs

func WithInputs(input map[string]io.Reader) Option

type Server

type Server struct {
	uxv1alpha1.UnimplementedUxServiceServer
	// contains filtered or unexported fields
}

func New

func New(options ...Option) *Server

func (*Server) ListenAndServe

func (s *Server) ListenAndServe(sock string) error

func (*Server) Open

func (*Server) Output

func (s *Server) Output(name string) (io.Reader, error)

func (*Server) Serve

func (s *Server) Serve(lis net.Listener) error

func (*Server) Server

func (s *Server) Server() *grpc.Server

func (*Server) Write

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL