16 lines
221 B
Go
16 lines
221 B
Go
package server
|
|
|
|
import (
|
|
"context"
|
|
"net/http"
|
|
)
|
|
|
|
type Server struct {
|
|
mux *http.ServeMux // Mux
|
|
ctx context.Context // Global application context
|
|
}
|
|
|
|
func RegisterHandler(ctx context.Context, h http.HandlerFunc) {
|
|
|
|
}
|