notify

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BaseNotify

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

func NewBaseNotify

func NewBaseNotify() *BaseNotify

func (*BaseNotify) GetBodyContent

func (b *BaseNotify) GetBodyContent() []byte

func (*BaseNotify) GetBodyContentString

func (b *BaseNotify) GetBodyContentString() string

func (*BaseNotify) GetHttpRequest

func (b *BaseNotify) GetHttpRequest() *http.Request

func (*BaseNotify) ParseFromHttpRequest

func (b *BaseNotify) ParseFromHttpRequest(r *http.Request) (err error)

type Notify

type Notify interface {
	ParseFromHttpRequest(r *http.Request) error
	GetHttpRequest() *http.Request
	GetBodyContent() []byte
	GetBodyContentString() string
}

Jump to

Keyboard shortcuts

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