mirror of
https://github.com/kataras/iris.git
synced 2025-12-18 02:17:05 +00:00
add context.Protobuf, MsgPack, ReadProtobuf, ReadMsgPack methods
Former-commit-id: 39d547ecfb1516505a1eb76a12a1f6e9e4111962
This commit is contained in:
@@ -24,7 +24,7 @@ func main() {
|
||||
app.Get("/", hi)
|
||||
|
||||
// http://localhost:8080
|
||||
app.Listen(":8080", iris.WithCharset("UTF-8")) // defaults to that but you can change it.
|
||||
app.Listen(":8080", iris.WithCharset("utf-8")) // defaults to that but you can change it.
|
||||
}
|
||||
|
||||
func hi(ctx iris.Context) {
|
||||
|
||||
Reference in New Issue
Block a user