Versions in this module Expand all Collapse all v1 v1.1.0 Oct 7, 2023 v1.0.2 Oct 5, 2023 v1.0.1 Oct 5, 2023 v1.0.0 Oct 5, 2023 Changes in this version + type ErrResp struct + Error OptString + func (s *ErrResp) Decode(d *jx.Decoder) error + func (s *ErrResp) Encode(e *jx.Encoder) + func (s *ErrResp) GetError() OptString + func (s *ErrResp) MarshalJSON() ([]byte, error) + func (s *ErrResp) SetError(val OptString) + func (s *ErrResp) UnmarshalJSON(data []byte) error + type ErrRespStatusCode struct + Response ErrResp + StatusCode int + func (s *ErrRespStatusCode) Error() string + func (s *ErrRespStatusCode) GetResponse() ErrResp + func (s *ErrRespStatusCode) GetStatusCode() int + func (s *ErrRespStatusCode) SetResponse(val ErrResp) + func (s *ErrRespStatusCode) SetStatusCode(val int) + type ErrorHandler = ogenerrors.ErrorHandler + type Handler interface + NewError func(ctx context.Context, err error) *ErrRespStatusCode + OidcAuthGet func(ctx context.Context, params OidcAuthGetParams) (OidcAuthGetRes, error) + OidcCallbackGet func(ctx context.Context, params OidcCallbackGetParams) (*OidcCallbackGetFound, error) + OidcSignInGet func(ctx context.Context) (*OidcSignInGetFound, error) + type Middleware = middleware.Middleware + type OidcAuthGetAccepted struct + XClaims OptString + func (s *OidcAuthGetAccepted) GetXClaims() OptString + func (s *OidcAuthGetAccepted) SetXClaims(val OptString) + type OidcAuthGetParams struct + GoOidcAuthProxy OptString + type OidcAuthGetRes interface + type OidcAuthGetUnauthorized struct + type OidcCallbackGetFound struct + Location OptString + SetCookie OptString + func (s *OidcCallbackGetFound) GetLocation() OptString + func (s *OidcCallbackGetFound) GetSetCookie() OptString + func (s *OidcCallbackGetFound) SetLocation(val OptString) + func (s *OidcCallbackGetFound) SetSetCookie(val OptString) + type OidcCallbackGetParams struct + Code OptString + GoOidcAuthProxyNounce OptString + GoOidcAuthProxyState OptString + State OptString + type OidcSignInGetFound struct + Location OptString + SetCookie []string + func (s *OidcSignInGetFound) GetLocation() OptString + func (s *OidcSignInGetFound) GetSetCookie() []string + func (s *OidcSignInGetFound) SetLocation(val OptString) + func (s *OidcSignInGetFound) SetSetCookie(val []string) + type OptString struct + Set bool + Value string + func NewOptString(v string) OptString + func (o *OptString) Decode(d *jx.Decoder) error + func (o *OptString) Reset() + func (o *OptString) SetTo(v string) + func (o OptString) Encode(e *jx.Encoder) + func (o OptString) Get() (v string, ok bool) + func (o OptString) IsSet() bool + func (o OptString) Or(d string) string + func (s *OptString) UnmarshalJSON(data []byte) error + func (s OptString) MarshalJSON() ([]byte, error) + type Option interface + func WithMeterProvider(provider metric.MeterProvider) Option + func WithTracerProvider(provider trace.TracerProvider) Option + type Route struct + func (r Route) Args() []string + func (r Route) Name() string + func (r Route) OperationID() string + func (r Route) PathPattern() string + type Server struct + func NewServer(h Handler, opts ...ServerOption) (*Server, error) + func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) + func (s *Server) FindRoute(method, path string) (Route, bool) + func (s *Server) ServeHTTP(w http.ResponseWriter, r *http.Request) + type ServerOption interface + func WithErrorHandler(h ErrorHandler) ServerOption + func WithMaxMultipartMemory(max int64) ServerOption + func WithMethodNotAllowed(methodNotAllowed func(w http.ResponseWriter, r *http.Request, allowed string)) ServerOption + func WithMiddleware(m ...Middleware) ServerOption + func WithNotFound(notFound http.HandlerFunc) ServerOption + func WithPathPrefix(prefix string) ServerOption + type UnimplementedHandler struct + func (UnimplementedHandler) NewError(ctx context.Context, err error) (r *ErrRespStatusCode) + func (UnimplementedHandler) OidcAuthGet(ctx context.Context, params OidcAuthGetParams) (r OidcAuthGetRes, _ error) + func (UnimplementedHandler) OidcCallbackGet(ctx context.Context, params OidcCallbackGetParams) (r *OidcCallbackGetFound, _ error) + func (UnimplementedHandler) OidcSignInGet(ctx context.Context) (r *OidcSignInGetFound, _ error)