httpapi

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EchoTestAPIArgs

type EchoTestAPIArgs struct {
	MsgSignature string
	Timestamp    int64
	Nonce        string
	EchoStr      string
}

type EnvelopeHandler

type EnvelopeHandler interface {
	OnIncomingEnvelope(rx envelope.Envelope) error
}

type LowLevelHandler

type LowLevelHandler struct {
	// contains filtered or unexported fields
}

func (*LowLevelHandler) Decrypt

func (h *LowLevelHandler) Decrypt(echoStr string) ([]byte, error)

func (*LowLevelHandler) EchoTest

func (h *LowLevelHandler) EchoTest(url *url.URL) (echoMsg []byte, err error)

func (*LowLevelHandler) ServeHTTP

func (h *LowLevelHandler) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type ToEchoTestAPIArgs

type ToEchoTestAPIArgs interface {
	ToEchoTestAPIArgs() (EchoTestAPIArgs, error)
}

type URLValuesForEchoTestAPI

type URLValuesForEchoTestAPI url.Values

func (URLValuesForEchoTestAPI) ToEchoTestAPIArgs

func (x URLValuesForEchoTestAPI) ToEchoTestAPIArgs() (EchoTestAPIArgs, error)

Jump to

Keyboard shortcuts

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