callback

package
v0.0.0-...-87d8b44 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2021 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MakeHandler

func MakeHandler(es Service, logger log.Logger) http.Handler

MakeHandler <>

Types

type Service

type Service interface {
	Respond(ctx context.Context, request *definitions.Request) (interface{}, error)
	Create(ctx context.Context, request *definitions.Request) (interface{}, error)
}

func NewCallbackService

func NewCallbackService(l log.Logger, c *sfpy.Client) Service

NewCallbackService gives us a new one

Jump to

Keyboard shortcuts

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