项目文件夹

文件
asim 610c00859f v5
2024-06-04 21:40:43 +01:00

18 行
232 B
Go

package http
import (
"go-micro.dev/v5/registry"
)
type Options struct {
Registry registry.Registry
}
type Option func(*Options)
func WithRegistry(r registry.Registry) Option {
return func(o *Options) {
o.Registry = r
}
}