mirror of
https://github.com/shtorm-7/sing-box-extended.git
synced 2026-09-15 21:00:27 +00: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
|
|
}
|