mirror of
https://github.com/XTLS/Xray-core.git
synced 2025-05-17 17:48:40 +00:00
Write server functionality for listing inbound and outbound tags.
This commit is contained in:
parent
72170d8b6b
commit
7cb8cfb9eb
8 changed files with 661 additions and 278 deletions
|
@ -35,6 +35,9 @@ type Manager interface {
|
|||
|
||||
// RemoveHandler removes a handler from outbound.Manager.
|
||||
RemoveHandler(ctx context.Context, tag string) error
|
||||
|
||||
// ListHandlers returns a list of outbound.Handler.
|
||||
ListHandlers(ctx context.Context) []Handler
|
||||
}
|
||||
|
||||
// ManagerType returns the type of Manager interface. Can be used to implement common.HasType.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue