Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadConfig ¶
LoadConfig reads and parses the config file at a path and returns the parsed config along with the resolved project root (the dir containing the file)
Types ¶
type ServeOptions ¶
type ServeOptions struct {
// Root is the directory the server is rooted in.
Root string
// Transport enum(stdio|http) controlls the server transport mode, defaults to stdio.
Transport string
// Addr is the listening address for the HTTP transport.
Addr string
}
ServeOptions controls server behaviour.
Click to show internal directories.
Click to hide internal directories.