Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
MAGIC_VALUE = [4]byte{0x16, 0x26, 0xba, 0x7e}
)
Functions ¶
func HealthMiddleware ¶
HealthMiddleware is a middleware that responds to health checks
func OptionsMiddleware ¶
OptionsMiddleware ensures that we return the correct headers for CORS requests
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func (*Server) AddMiddleware ¶
func (s *Server) AddMiddleware(cr *chi.Mux) *chi.Mux
func (*Server) CreateBaseRouter ¶
func (s *Server) CreateBaseRouter() *chi.Mux
Click to show internal directories.
Click to hide internal directories.