Documentation ¶
Index ¶
Constants ¶
View Source
const (
Name = "erda-auth"
)
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(config json.RawMessage) (reverseproxy.Filter, error)
Types ¶
type ErdaAuth ¶
type ErdaAuth struct {
Config *Config
}
func (*ErdaAuth) OnRequest ¶
func (f *ErdaAuth) OnRequest(ctx context.Context, w http.ResponseWriter, infor reverseproxy.HttpInfor) (signal reverseproxy.Signal, err error)
Click to show internal directories.
Click to hide internal directories.