handler

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2024 License: BSD-3-Clause Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Authorization added in v0.2.0

type Authorization struct {
	Bouncer CallBouncer
}

func (*Authorization) Router added in v0.2.0

func (e *Authorization) Router() chi.Router

type AuthorizationRequest added in v0.2.0

type AuthorizationRequest struct {
	From      string `json:"endpoint"`
	Extension string `json:"extension"`
}

type CallBouncer added in v0.2.0

type CallBouncer interface {
	Check(ctx context.Context, endpoint, dialed string) model.BouncerResponse
}

type Contact added in v0.7.0

type Contact struct {
	Service *service.Contact
}

func (*Contact) Router added in v0.7.0

func (p *Contact) Router() chi.Router

type Endpoint

type Endpoint struct {
	Service *service.EndpointService
}

func (*Endpoint) Router

func (e *Endpoint) Router() chi.Router

Jump to

Keyboard shortcuts

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