...

Package utils

import "bitbucket.org/twicedb/twicedb-go/examples/utils"
Overview
Index

Overview ▾

Package utils provides utilities for the go-client TwiceDB examples.

Constants

const (
    MaxCatchUpSeconds = 30
    MaxCatchUpTime    = time.Duration(time.Second * MaxCatchUpSeconds)
)

func CatchUpLsqt

func CatchUpLsqt(client client_api.Client, tt shared.Tt)

func GetClient

func GetClient(ctx context.Context) client_api.Client

func PromptToContinue

func PromptToContinue()