cli

package
v2.1.17 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2026 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var MCPSkillMD string
View Source
var RootCmd = &cobra.Command{
	Use:   "ghx",
	Short: "GitHub code exploration for agents and humans",
	Long:  `ghx — GitHub code exploration for agents and humans`,
	Run: func(cmd *cobra.Command, args []string) {
		if len(args) == 0 {
			cmd.Help()
		}
	},
}
View Source
var SkillMD string
View Source
var VERSION = "dev"

Functions

This section is empty.

Types

type HTTPTransport

type HTTPTransport struct {
	Address string
}

HTTPTransport implements Transport for streamable HTTP communication

func (*HTTPTransport) Serve

func (t *HTTPTransport) Serve(s *server.MCPServer) error

type StdioTransport

type StdioTransport struct{}

StdioTransport implements Transport for stdio communication

func (*StdioTransport) Serve

func (t *StdioTransport) Serve(s *server.MCPServer) error

type Transport

type Transport interface {
	Serve(s *server.MCPServer) error
}

Transport defines the interface for MCP server transports

Jump to

Keyboard shortcuts

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