rfe

package module
v1.0.0-beta.2 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2021 License: MIT Imports: 10 Imported by: 0

README

rfe

Run Firestore Emulator

Example:

// main_test.go
import (
    "testing"

    "github.com/kmarilleau/rfe"
    "gopkg.in/h2non/gock.v1"
)

func TestMain(m *testing.M) {
    firestoreEmulator := rfe.FirestoreEmulator{Verbose: true}

    firestoreEmulator.Start()
    defer firestoreEmulator.Shutdown()

    m.Run()
}

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FirestoreEmulator

type FirestoreEmulator struct {
	Verbose bool
	Port    uint16
	// contains filtered or unexported fields
}

func (*FirestoreEmulator) Shutdown

func (f *FirestoreEmulator) Shutdown()

func (*FirestoreEmulator) Start

func (f *FirestoreEmulator) Start()

Jump to

Keyboard shortcuts

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