Documentation
¶
Index ¶
- type Server
- func (s *Server) DeleteConversation(ctx context.Context, req *proto.DeleteConversationRequest) (*proto.DeleteConversationResponse, error)
- func (s *Server) Exec(req *proto.ExecRequest, stream grpc.ServerStreamingServer[proto.ExecResponse]) error
- func (s *Server) ForkConversation(ctx context.Context, req *proto.ForkConversationRequest) (*proto.ForkConversationResponse, error)
- func (s *Server) GracefulStop()
- func (s *Server) Serve(address string, opts ...grpc.ServerOption) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct {
proto.UnimplementedControllerServiceServer
proto.UnimplementedConversationServiceServer
// contains filtered or unexported fields
}
Server implements the AXService gRPC service.
func (*Server) DeleteConversation ¶
func (s *Server) DeleteConversation(ctx context.Context, req *proto.DeleteConversationRequest) (*proto.DeleteConversationResponse, error)
func (*Server) Exec ¶
func (s *Server) Exec(req *proto.ExecRequest, stream grpc.ServerStreamingServer[proto.ExecResponse]) error
Exec executes a new agentic task with streaming responses.
func (*Server) ForkConversation ¶
func (s *Server) ForkConversation(ctx context.Context, req *proto.ForkConversationRequest) (*proto.ForkConversationResponse, error)
func (*Server) GracefulStop ¶
func (s *Server) GracefulStop()
GracefulStop stops the gRPC server gracefully.
Click to show internal directories.
Click to hide internal directories.