setupnewuser

package
v1.0.5 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2023 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var BlockName = "Life Insurance"
View Source
var BlockPodName = "Term Insurance"
View Source
var KeyName = "Insurances"
View Source
var KeyPodName = "Health Insurance"

Functions

func DisplayData

func DisplayData(user response.User, anotherUserEmail string)

func RegisterNewUser

func RegisterNewUser() (string, error)

func SetupNewUser

func SetupNewUser()

func ShareData

func ShareData(user response.User, anotherUserEmail string, keyWithResources KeyWithResources) error

Types

type BlockWithPods

type BlockWithPods struct {
	Block     response.Block
	BlockPods []response.Pod
}

type KeyWithResources

type KeyWithResources struct {
	Key    response.Key
	Blocks []BlockWithPods
	Pods   []response.Pod
}

func CreateData

func CreateData(user response.User) (KeyWithResources, error)

Jump to

Keyboard shortcuts

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