1
0
mirror of https://github.com/ggicci/httpin.git synced 2024-12-02 09:01:33 +02:00
httpin/directives.go
2021-04-28 19:05:29 +08:00

10 lines
184 B
Go

package httpin
type Directive struct {
Key string // e.g. query.page, header.x-api-token
}
func BuildDirective(key string) (*Directive, error) {
return &Directive{Key: key}, nil
}