summaryrefslogtreecommitdiff
path: root/pkg/web/routes.go
blob: b2a7643132a278d5208e42f204018e6db52b1849 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
package web

import (
	"net/http"
)

func NewRoutes(issuer string, keyData []byte) http.Handler {
	return NewHttpContext(&Configuration{
		Issuer:  issuer,
		KeyData: keyData,
	}).Router()
}