Versions in this module Expand all Collapse all v0 v0.1.1 Mar 27, 2024 Changes in this version type Config + Algorithm string v0.1.0 Mar 25, 2024 Changes in this version + func New(ctx context.Context, next http.Handler, config *Config, name string) (http.Handler, error) + type Config struct + HashedToken string + HeaderField string + RemoveHeader bool + func CreateConfig() *Config + type TokenAuth struct + func (ta *TokenAuth) ServeHTTP(rw http.ResponseWriter, req *http.Request)