kratos

package module
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 27, 2022 License: MIT Imports: 6 Imported by: 0

README

Kratos

Iris + Kratos integration.

Example at: _examples/basic/main.go.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ContentType

func ContentType(subtype string) string

ContentType returns the content-type with base prefix.

func Error

func Error(ctx iris.Context, err error)

Error encodes the object to the HTTP response.

func Middlewares

func Middlewares(m ...middleware.Middleware) iris.Handler

Middlewares return middlewares wrapper.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL