Documentation ¶ Index ¶ func Execute() type EchoConfig type Server func NewServer(ctx context.Context, logger *log.Logger) (*Server, error) type ServerConfig Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Execute ¶ func Execute() Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd. Types ¶ type EchoConfig ¶ type EchoConfig struct { Host string Port int } type Server ¶ type Server struct { *server.Server // contains filtered or unexported fields } func NewServer ¶ func NewServer(ctx context.Context, logger *log.Logger) (*Server, error) type ServerConfig ¶ type ServerConfig struct { server.Server } Source Files ¶ View all Source files echo.gofirectl.goflags.goroot.goserver.go Directories ¶ Show internal Expand all Path Synopsis handlers Click to show internal directories. Click to hide internal directories.