Skip to content

The ability to call Router.NewServer has been lost #2511

Description

@flymedllva

Component(s)

router

Component version

0.280.1

wgc version

controlplane version

router version

0.280.1

What happened?

Description

Previously, Router had the ability to call NewServer (check comment comment), for example for AWS, but now this ability is gone.

Expected Result

I want to be able to connect the Router handler to my server instead of running it inside Router (not run listenAndServe). Previously, this could be done by calling NewServer from Router and attaching it to my mux.

Actual Result

The ability to call Router.NewServer has been lost

Environment information

Environment

OS: (e.g., "Ubuntu 20.04")
Package Manager: pnpm, npm, yarn, etc
Compiler(if manually compiled): (e.g., "go 14.2")

Router configuration

Router execution config

Log output

Additional context

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions