donation

package
v0.0.0-...-edf0be2 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2023 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateRequest

type CreateRequest struct {
	Streamer string `json:"streamer"`
	Message  string `json:"message"`
	Name     string `json:"name"`
	Amount   int    `json:"amount"`
}

type CreateResponse

type CreateResponse struct {
	ClientSecret string `json:"clientSecret"`
}

type Donation

type Donation struct {
	DR donation.DonationRepo
	SR streamer.StreamerRepo
}

func (Donation) Create

func (de Donation) Create(w http.ResponseWriter, r *http.Request) error

Jump to

Keyboard shortcuts

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