From a916f040164992c1e8647b0a463bf79d17a06c76 Mon Sep 17 00:00:00 2001 From: ginuerzh Date: Mon, 13 Nov 2023 20:38:50 +0800 Subject: [PATCH] update ingress interface --- ingress/ingress.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ingress/ingress.go b/ingress/ingress.go index 592dfbc..161a164 100644 --- a/ingress/ingress.go +++ b/ingress/ingress.go @@ -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 }