aidungeon

package
v0.0.0-...-7bab8f8 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2020 License: Unlicense Imports: 8 Imported by: 0

Documentation

Overview

AI DUNGEON API CLIENT //

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	Email     string
	Password  string
	AuthToken string
}

func NewClient

func NewClient(email, password string) (Client, error)

func (Client) CreateSession

func (c Client) CreateSession(prompt string) (sessionId int, output string, err error)

func (Client) Input

func (c Client) Input(sessionId int, text string) (output string, err error)

Jump to

Keyboard shortcuts

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