Skip to content

Conversation

@cryptix
Copy link

@cryptix cryptix commented Dec 14, 2018

This allows return wrappers into the router like this:

func NewThing(...) admin.RequestHandler { }


func someRes() {
  r:=Admin.GetRouter()
  r.Post("/some/thing", NewThing())
}

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant