Files
orchard/internal/responder/empty.go
T
Nikolay Edigaryev 47fef47d1c Port forwarding support (#30)
* Port forwarding support

* .golangci.yml: remove and replace deprecated and archived linters

* Client: pass credentials when calling WebSocket API methods

* API: require ServiceAccountRoleComputeWrite role for port forwarding

* Use Buf

* Rename Poll() RPC method to Watch()

* Split Rendezvous into two parts: Watcher and Proxy (#32)

* Split Rendezvous into two parts: Watcher and Proxy

* Implement Proxy cancellation

* Use Protocol Buffers structure directly in Watcher

* Fix TestWatcher after switching to Protocol Buffers structure

* portForwardVM(): ensure we also check for gin's context
2023-03-14 11:31:13 -04:00

14 lines
220 B
Go

package responder
import "github.com/gin-gonic/gin"
type EmptyResponder struct{}
func Empty() *EmptyResponder {
return &EmptyResponder{}
}
func (responder *EmptyResponder) Respond(c *gin.Context) {
// do nothing
}