logics

package
v0.0.0-...-977fba5 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

Package logics Application logical.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(i iris.Context, logics ...Logic) (res interface{})

New create and return logic interface .

logics.New(i)
logics.New(i, example.Fn)
logics.New(i, example.NewExample().Run)

Types

type Logic

type Logic func(c context.Context, i iris.Context) interface{}

Logic

interface for main process.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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