Documentation
¶
Index ¶
- type Server
- func (s *Server) Addr() net.Addr
- func (s *Server) Log(ctx context.Context, r *apiv1.LogRequest) (*apiv1.LogResponse, error)
- func (s *Server) PromptConfirmation(ctx context.Context, r *apiv1.PromptConfirmationRequest) (*apiv1.PromptConfirmationResponse, error)
- func (s *Server) PromptInput(ctx context.Context, r *apiv1.PromptInputRequest) (*apiv1.PromptInputResponse, error)
- func (s *Server) PromptSelect(ctx context.Context, r *apiv1.PromptSelectRequest) (*apiv1.PromptSelectResponse, error)
- func (s *Server) Serve() error
- func (s *Server) Stop()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func (*Server) Log ¶
func (s *Server) Log(ctx context.Context, r *apiv1.LogRequest) (*apiv1.LogResponse, error)
func (*Server) PromptConfirmation ¶
func (s *Server) PromptConfirmation(ctx context.Context, r *apiv1.PromptConfirmationRequest) (*apiv1.PromptConfirmationResponse, error)
func (*Server) PromptInput ¶
func (s *Server) PromptInput(ctx context.Context, r *apiv1.PromptInputRequest) (*apiv1.PromptInputResponse, error)
func (*Server) PromptSelect ¶
func (s *Server) PromptSelect(ctx context.Context, r *apiv1.PromptSelectRequest) (*apiv1.PromptSelectResponse, error)
Click to show internal directories.
Click to hide internal directories.