msg_protocol

package
v0.0.1-alpha Latest Latest
Warning

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

Go to latest
Published: May 31, 2021 License: GPL-3.0 Imports: 1 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthResponse

type AuthResponse struct {
	Message string
}

type CreateTableResponse

type CreateTableResponse struct {
	Message string
}

type GetResponse

type GetResponse struct {
	Key   string
	Value interface{}
}

type InsertTableResponse

type InsertTableResponse struct {
	Message string
}

type KeysResponse

type KeysResponse struct {
	Keys []string
}

type MsgPackRootMessage

type MsgPackRootMessage struct {
	Message string
	Error   error

	AuthResponse        *AuthResponse
	SelectResponse      *SelectResponse
	GetResponse         *GetResponse
	SetResponse         *SetResponse
	KeysResponse        *KeysResponse
	CreateTableResponse *CreateTableResponse
	InsertTableResponse *InsertTableResponse
	SelectTableResponse *SelectTableResponse
}

type SelectResponse

type SelectResponse struct {
	SelectedDatabase string
}

type SelectTableResponse

type SelectTableResponse struct {
	FieldNames []string
	Rows       []datatypes.Row
}

type SetResponse

type SetResponse struct {
	Message string
}

Jump to

Keyboard shortcuts

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