Versions in this module Expand all Collapse all v0 v0.2.3 Jan 14, 2023 v0.2.2 Feb 23, 2022 Changes in this version + const ShellOKCode + const ShellUnauthorizedCode + type AccessAPI struct + APIAuthorizer runtime.Authorizer + APIKeyAuthenticator func(string, string, security.TokenAuthentication) runtime.Authenticator + BasicAuthenticator func(security.UserPassAuthentication) runtime.Authenticator + BearerAuth func(string) (interface{}, error) + BearerAuthenticator func(string, security.ScopedTokenAuthentication) runtime.Authenticator + CommandLineOptionsGroups []swag.CommandLineOptionsGroup + JSONConsumer runtime.Consumer + JSONProducer runtime.Producer + Logger func(string, ...interface{}) + Middleware func(middleware.Builder) http.Handler + PreServerShutdown func() + ServeError func(http.ResponseWriter, *http.Request, error) + ServerShutdown func() + ShellHandler ShellHandler + func NewAccessAPI(spec *loads.Document) *AccessAPI + func (o *AccessAPI) AddMiddlewareFor(method, path string, builder middleware.Builder) + func (o *AccessAPI) AuthenticatorsFor(schemes map[string]spec.SecurityScheme) map[string]runtime.Authenticator + func (o *AccessAPI) Authorizer() runtime.Authorizer + func (o *AccessAPI) ConsumersFor(mediaTypes []string) map[string]runtime.Consumer + func (o *AccessAPI) Context() *middleware.Context + func (o *AccessAPI) DefaultConsumes() string + func (o *AccessAPI) DefaultProduces() string + func (o *AccessAPI) Formats() strfmt.Registry + func (o *AccessAPI) HandlerFor(method, path string) (http.Handler, bool) + func (o *AccessAPI) Init() + func (o *AccessAPI) ProducersFor(mediaTypes []string) map[string]runtime.Producer + func (o *AccessAPI) RegisterConsumer(mediaType string, consumer runtime.Consumer) + func (o *AccessAPI) RegisterFormat(name string, format strfmt.Format, validator strfmt.Validator) + func (o *AccessAPI) RegisterProducer(mediaType string, producer runtime.Producer) + func (o *AccessAPI) Serve(builder middleware.Builder) http.Handler + func (o *AccessAPI) ServeErrorFor(operationID string) func(http.ResponseWriter, *http.Request, error) + func (o *AccessAPI) SetDefaultConsumes(mediaType string) + func (o *AccessAPI) SetDefaultProduces(mediaType string) + func (o *AccessAPI) SetSpec(spec *loads.Document) + func (o *AccessAPI) UseRedoc() + func (o *AccessAPI) UseSwaggerUI() + func (o *AccessAPI) Validate() error + type Shell struct + Context *middleware.Context + Handler ShellHandler + func NewShell(ctx *middleware.Context, handler ShellHandler) *Shell + func (o *Shell) ServeHTTP(rw http.ResponseWriter, r *http.Request) + type ShellHandler interface + Handle func(ShellParams, interface{}) middleware.Responder + type ShellHandlerFunc func(ShellParams, interface{}) middleware.Responder + func (fn ShellHandlerFunc) Handle(params ShellParams, principal interface{}) middleware.Responder + type ShellOK struct + Payload *ShellOKBody + func NewShellOK() *ShellOK + func (o *ShellOK) SetPayload(payload *ShellOKBody) + func (o *ShellOK) WithPayload(payload *ShellOKBody) *ShellOK + func (o *ShellOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) + type ShellOKBody struct + URI string + func (o *ShellOKBody) MarshalBinary() ([]byte, error) + func (o *ShellOKBody) UnmarshalBinary(b []byte) error + func (o *ShellOKBody) Validate(formats strfmt.Registry) error + type ShellParams struct + HTTPRequest *http.Request + ShellID string + func NewShellParams() ShellParams + func (o *ShellParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error + type ShellURL struct + ShellID string + func (o *ShellURL) Build() (*url.URL, error) + func (o *ShellURL) BuildFull(scheme, host string) (*url.URL, error) + func (o *ShellURL) Must(u *url.URL, err error) *url.URL + func (o *ShellURL) SetBasePath(bp string) + func (o *ShellURL) String() string + func (o *ShellURL) StringFull(scheme, host string) string + func (o *ShellURL) WithBasePath(bp string) *ShellURL + type ShellUnauthorized struct + Payload interface{} + func NewShellUnauthorized() *ShellUnauthorized + func (o *ShellUnauthorized) SetPayload(payload interface{}) + func (o *ShellUnauthorized) WithPayload(payload interface{}) *ShellUnauthorized + func (o *ShellUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)