mirror of
https://github.com/SagerNet/sing-box.git
synced 2026-04-11 17:47:20 +10:00
22 lines
354 B
Go
22 lines
354 B
Go
package certificate
|
|
|
|
type Adapter struct {
|
|
providerType string
|
|
providerTag string
|
|
}
|
|
|
|
func NewAdapter(providerType string, providerTag string) Adapter {
|
|
return Adapter{
|
|
providerType: providerType,
|
|
providerTag: providerTag,
|
|
}
|
|
}
|
|
|
|
func (a *Adapter) Type() string {
|
|
return a.providerType
|
|
}
|
|
|
|
func (a *Adapter) Tag() string {
|
|
return a.providerTag
|
|
}
|