cmd

package
v0.0.0-...-c4b140d Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2023 License: GPL-3.0 Imports: 25 Imported by: 0

Documentation

Overview

Copyright © 2022 NAME HERE <EMAIL ADDRESS>

Copyright © 2022 NAME HERE <EMAIL ADDRESS>

Copyright © 2022 NAME HERE <EMAIL ADDRESS>

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute()

Execute : runs registered cobra commands

func Seed

func Seed(userId string) (err error)

func StartJobServer

func StartJobServer(cmd *cobra.Command, args []string)

func StartServer

func StartServer(cmd *cobra.Command, args []string)

Types

type GoogleBackendExtension

type GoogleBackendExtension struct {
	Address         string `json:"address" yml:"address"`
	PathTranslation string `json:"path_translation" yml:"path_translation"`
}

type Seeder

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

func (*Seeder) AddContact

func (s *Seeder) AddContact(userId domain.UserID) (contact *domain.Contact, err error)

func (*Seeder) AddContacts

func (s *Seeder) AddContacts(count int, userId domain.UserID) (err error)

func (*Seeder) AddNote

func (s *Seeder) AddNote(userId domain.UserID, contactId domain.UnifiedId) (note *domain.Note, err error)

func (*Seeder) AddNotes

func (s *Seeder) AddNotes(count int, userId domain.UserID, contactId domain.UnifiedId) (err error)

func (*Seeder) AddTag

func (s *Seeder) AddTag(userId domain.UserID, contactId domain.UnifiedId) (tag *domain.Tag, err error)

func (*Seeder) AddTags

func (s *Seeder) AddTags(count int, userId domain.UserID, contactId domain.UnifiedId) (err error)

func (*Seeder) AddUser

func (s *Seeder) AddUser(id string) (user *domain.User, err error)

func (*Seeder) AddUserData

func (s *Seeder) AddUserData(id string) (err error)

adds a user and contacts

Jump to

Keyboard shortcuts

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