Documentation ¶ Index ¶ type GoApiBoot func NewGoApiBoot(corsConfig *cors.Cors) *GoApiBoot func (g *GoApiBoot) Start(grpcPort, webPort string) func (g *GoApiBoot) Stop() type WebProxy func GetWebProxy(server *grpc.Server) WebProxy func (w WebProxy) ServeHTTP(resp http.ResponseWriter, req *http.Request) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type GoApiBoot ¶ type GoApiBoot struct { GrpcServer *grpc.Server WebServer *http.Server } func NewGoApiBoot ¶ func NewGoApiBoot(corsConfig *cors.Cors) *GoApiBoot func (*GoApiBoot) Start ¶ func (g *GoApiBoot) Start(grpcPort, webPort string) func (*GoApiBoot) Stop ¶ added in v0.1.31 func (g *GoApiBoot) Stop() type WebProxy ¶ added in v0.1.34 type WebProxy struct { // contains filtered or unexported fields } func GetWebProxy ¶ added in v0.1.34 func GetWebProxy(server *grpc.Server) WebProxy func (WebProxy) ServeHTTP ¶ added in v0.1.34 func (w WebProxy) ServeHTTP(resp http.ResponseWriter, req *http.Request) Source Files ¶ View all Source files headers.go server.go web-proxy-request.go web-proxy-response.go web-proxy.go Click to show internal directories. Click to hide internal directories.