fullstack

package
v0.0.0-...-1b94cb7 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthOptions

type AuthOptions struct {
	OpenIDConnectOpts    *OpenIDConnectOptions    `yaml:"social_sign_in"`
	UsernamePasswordOpts *UsernamePasswordOptions `yaml:"username_password"`
}

type BaseFullstackGenerator

type BaseFullstackGenerator struct {
}

func NewBaseGenerator

func NewBaseGenerator() *BaseFullstackGenerator

func (*BaseFullstackGenerator) GenerateTemplate

func (g *BaseFullstackGenerator) GenerateTemplate(cfg *TemplateConfig) error

type OpenIDConnectOptions

type OpenIDConnectOptions struct {
	GoogleCallback   *string `yaml:"google_callback_url"`
	FacebookCallback *string `yaml:"facebook_callback_url"`
	GitHubCallback   *string `yaml:"github_callback_url"`
}

type PaymentsOptions

type PaymentsOptions struct {
	UseStripe bool `yaml:"stripe"`
	UsePayPal bool `yaml:"paypal"`
}

type TemplateConfig

type TemplateConfig struct {
	OutputDirectoryPath string          `yaml:"output_dir"`
	AuthOpts            AuthOptions     `yaml:"auth"`
	PaymentsOpts        PaymentsOptions `yaml:"payments"`
}

type TemplateGenerator

type TemplateGenerator interface {
	GenerateTemplate(config *TemplateConfig) error
}

type UsernamePasswordOptions

type UsernamePasswordOptions struct {
	EmailVerification bool `yaml:"email_verification"`
	UsernameIsEmail   bool `yaml:"username_is_email"`
}

Jump to

Keyboard shortcuts

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