update ingress interface

This commit is contained in:
ginuerzh 2023-11-13 20:38:50 +08:00
parent 8e4fc06cf1
commit a916f04016

View File

@ -12,5 +12,5 @@ type SetOption func(opts *SetOptions)
type Ingress interface {
Get(ctx context.Context, host string, opts ...GetOption) string
Set(ctx context.Context, host, endpoint string, opts ...SetOption)
Set(ctx context.Context, host, endpoint string, opts ...SetOption) bool
}