hsessionmw

package
v1.1.44 Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New() core.IAPIMiddleware

Types

type Middleware

type Middleware struct {
	core.InMiddleware
	// contains filtered or unexported fields
}

func (*Middleware) Config

func (this *Middleware) Config() core.IEntityConf

func (*Middleware) EntityStub

func (this *Middleware) EntityStub() *core.EntityStub

func (*Middleware) HandleIn

func (this *Middleware) HandleIn(seq uint64, version string, api string, data htypes.Map) (bool, *herrors.Error)

func (*Middleware) Open

type SessionMiddleware

type SessionMiddleware struct {
	core.EntityConfBase

	SessionService  string
	VerifySlot      string
	APIWhiteList    []string
	InUserField     string
	InTokenField    string
	InAgentField    string
	InAddressField  string
	OutUserField    string
	OutTokenField   string
	OutAgentField   string
	OutAddressField string
}

Jump to

Keyboard shortcuts

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