data

package
v0.0.0-...-dbe8540 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2021 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IPacket

type IPacket struct {
	ID       string      `json:"id"`
	Type     int         `json:"type"`
	Metadata interface{} `json:"data"`
}

type InteractionApplication

type InteractionApplication struct {
	ApplicationID string `json:"application_id"`
	Type          int    `json:"type"`
	ID            string `json:"id"`
}

type TypeConnection

type TypeConnection struct {
	PublicKey string `json:"public_key"`
	BotID     string `json:"bot_id"`
	BotName   string `json:"bot_name"`
	Date      int    `json:"date"`
}

type TypeConnectionSaved

type TypeConnectionSaved struct {
	PublicKey string          `json:"public_key"`
	BotID     string          `json:"bot_id"`
	BotName   string          `json:"bot_name"`
	Date      int             `json:"date"`
	Session   *websocket.Conn `json:"session"`
}

Jump to

Keyboard shortcuts

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