crc

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2023 License: MPL-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 Crc

type Crc interface {
	HandleRequest(w http.ResponseWriter, r *http.Request, source *datastore.Source, sourceRepo datastore.SourceRepository) error
}

type TwitterCrc

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

func NewTwitterCrc

func NewTwitterCrc(secret string) *TwitterCrc

func (*TwitterCrc) HandleRequest

func (tc *TwitterCrc) HandleRequest(w http.ResponseWriter, r *http.Request, source *datastore.Source, sourceRepo datastore.SourceRepository) error

type TwitterCrcResponse

type TwitterCrcResponse struct {
	ResponseToken string `json:"response_token"`
}

Jump to

Keyboard shortcuts

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