mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[GH-ISSUE #2581] [Feature Request] Support Client Service Custom Context #2058
Labels
No labels
In Progress
WIP
WaitingForInfo
bug
doc
duplicate
easy
enhancement
future
help wanted
invalid
lifecycle/stale
need-issue-template
need-usage-help
no plan
proposal
pull-request
question
todo
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/frp#2058
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @clarkmcc on GitHub (Sep 17, 2021).
Original GitHub issue: https://github.com/fatedier/frp/issues/2581
Describe the feature request
First of all, this is a fantastic project. We use this as a library, and I hope that in the future it will be better designed to support usage as a library. When creating a new client service, I do not have the option to pass in my own context, rather the service struct creates and maintains it's own context.
It would be easier if I could specify my own context like this
As it stands today, I have to hack my way around this
Describe alternatives you've considered
No response
Affected area
@fatedier commented on GitHub (Sep 18, 2021):
Yes. We are doing some code refactoring. Used as a third-party library is also one of aims.
@clarkmcc commented on GitHub (Sep 18, 2021):
Unrelated but are there plans to clean up the logging implementation and use a simple interface rather than registering named loggers and then configuring which named logger to use?
@fatedier commented on GitHub (Sep 19, 2021):
Good point.
@clarkmcc commented on GitHub (Jun 29, 2023):
Thank you!