mirror of
https://git.ptzo.gdn/feditools/relay.git
synced 2024-09-21 17:07:12 +00:00
9 lines
166 B
Go
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)
|
|
}
|