重构前
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
package sub2api
|
||||
|
||||
import (
|
||||
"github.com/QuantumNous/new-api/relay/channel/newapi"
|
||||
)
|
||||
|
||||
type Adaptor struct {
|
||||
newapi.Adaptor
|
||||
}
|
||||
|
||||
func (a *Adaptor) GetModelList() []string {
|
||||
return ModelList
|
||||
}
|
||||
|
||||
func (a *Adaptor) GetChannelName() string {
|
||||
return ChannelName
|
||||
}
|
||||
Reference in New Issue
Block a user