Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ProviderSet = wire.NewSet( NewConfig, NewHTTPServer, )
Functions ¶
func NewLogInterceptor ¶
func NewLogInterceptor() connect.UnaryInterceptorFunc
Types ¶
type Config ¶
func NewDefaultConfig ¶
func NewDefaultConfig() Config
TODO breadchris studio proxy should not be set by default only turn on when in dev mode
type HTTPServer ¶
type HTTPServer struct {
// contains filtered or unexported fields
}
func NewHTTPServer ¶
func NewHTTPServer( config Config, projectService genconnect.ProjectServiceHandler, generateService genconnect.GenerateServiceHandler, ) (*HTTPServer, error)
func (*HTTPServer) Start ¶
func (h *HTTPServer) Start(port int) error
Click to show internal directories.
Click to hide internal directories.