irisframe

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	StorageIndexIris = tingyun3.StorageIndexIris
)

Variables

This section is empty.

Functions

func WrapirisCreateRoutes

func WrapirisCreateRoutes(api *router.APIBuilder, methods []string, relativePath string, handlers ...context.Handler) []*router.Route

func WrapirisHandleDir

func WrapirisHandleDir(api *router.APIBuilder, requestPath string, fsOrDir interface{}, opts ...router.DirOptions) (routes []*router.Route)

func WrapirishandleMany

func WrapirishandleMany(c *mvc.ControllerActivator, method, path, funcName string, override bool, middleware ...context.Handler) []*router.Route

func WrapneffosConnhandleMessage

func WrapneffosConnhandleMessage(c *neffos.Conn, msg neffos.Message) error

func WrapneffosfireEvent

func WrapneffosfireEvent(e neffos.Events, c *neffos.NSConn, msg neffos.Message) error

func WrapneffosmakeEventFromMethod

func WrapneffosmakeEventFromMethod(v reflect.Value, method reflect.Method, eventMatcher neffos.EventMatcherFunc) (eventName string, cb neffos.MessageHandlerFunc)

func WrapwebsocketUpgrade

func WrapwebsocketUpgrade(ctx *context.Context, idGen websocket.IDGenerator, s *neffos.Server) *neffos.Conn

Types

This section is empty.

Jump to

Keyboard shortcuts

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