mirror of
https://github.com/eolinker/apinto
synced 2025-10-23 16:53:18 +08:00
15 lines
336 B
Go
15 lines
336 B
Go
package dynamic_params
|
|
|
|
import (
|
|
"github.com/eolinker/eosc/eocontext/http-context"
|
|
)
|
|
|
|
type IDynamicFactory interface {
|
|
Create(name string, value []string) (IDynamicDriver, error)
|
|
}
|
|
|
|
type IDynamicDriver interface {
|
|
Name() string
|
|
Generate(ctx http_context.IHttpContext, contentType string, args ...interface{}) (interface{}, error)
|
|
}
|