relay/internal/http/module.go
2022-07-26 20:51:03 -07:00

9 lines
166 B
Go

package http
// Module represents a module that can be added to a http server
type Module interface {
Name() string
Route(s *Server) error
SetServer(s *Server)
}