mirror of
https://github.com/cirruslabs/orchard.git
synced 2026-09-30 03:51:43 +02:00
* 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
14 lines
220 B
Go
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
|
|
}
|