Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ShutdownServer ¶
func StartServer ¶
func StartServer(ctx context.Context, routeLoader RouteLoader)
Types ¶
type DeleteRouteFunc ¶
type RouteLoader ¶
type RouteLoader interface { BootstrapRoutes(context.Context, UpsertRouteFunc) error WatchRoutes(context.Context, UpsertRouteFunc, DeleteRouteFunc) }
type Router ¶
func NewRouter ¶
func NewRouter(loader RouteLoader) *Router
func (*Router) WatchRouteUpdates ¶
type UpsertRouteFunc ¶
Click to show internal directories.
Click to hide internal directories.