nhost

package
v1.1.10 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const AUTH_BASE_URL = "https://nhost.run/v1/auth"
View Source
const GRAPHQL_BASE_URL = "https://nhost.run/v1/graphql"

Variables

This section is empty.

Functions

func ListEntities

func ListEntities(ctx context.ServiceContext, options *ListOptions) (interface{}, error)

func Sync

func Sync(ctx context.ServiceContext, options *SyncOptions) error

Types

type ListOptions

type ListOptions struct {
	Credentials map[string]interface{}
}

type SetupOptions

type SetupOptions struct {
	Token string
	OrgID string `json:"org_id"`
}

type SyncOptions

type SyncOptions struct {
	OrgID         string                 `json:"org_id"`
	Credentials   map[string]interface{} `json:"credentials"`
	EntityDetails map[string]interface{} `json:"entity_details"`
	Data          *keypayload.KPMap      `json:"data"`
}

Jump to

Keyboard shortcuts

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