package
0.0.0-20250213061551-34b20564333c
Repository: https://github.com/extrame/goblet.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Functions

No description provided by the author
New create a new LoginAsJwt plugin, secret is the secret key for jwt, idKey is the key for id in jwt.
No description provided by the author
PageRedirect Create a page redirector match the matcher and redirect to target, if withOriginalAsQuery is true, the original url will be append to the target url's query part as target?original=original.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
StandardJsonWrapper return a standard json wrapper StandardJsonWrapper 返回一个标准的json包装器 使用方法: 调用plugin.StandardJsonWrapper()作为参数传入Organize函数 successCode: the code of success successMsg: the message of success.
No description provided by the author
No description provided by the author

# Variables

JSON standard JSON pluginJSON 标准JSON服务器Usage: goblet.Organize("server-name", plugin.JSON).
No description provided by the author

# Structs

No description provided by the author
No description provided by the author
JsonError mark a type as an error which should be used as Json, you can implement a type with RespondAsJson() bool function and respond true or just inherbit JsonError type.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Interfaces

No description provided by the author
No description provided by the author

# Type aliases

StandardJsonWrapperSetter set the success code and message StandardJsonWrapperSetter 设置成功的代码和消息.