message

package
v0.0.0-...-3428a3a Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Cmd = &cobra.Command{
	Use:   "message",
	Short: "Message sub commands",
	Long:  "Message sub commands that interacts with gateway service to manage objects with S3 and manage items with Dynamo",
}

Cmd message command

Functions

func Create

func Create(message Message) (*resty.Response, error)

func Delete

func Delete(id string) (*resty.Response, error)

func Get

func Get(id string) (*resty.Response, error)

Types

type Message

type Message struct {
	ID      string `json:"id,omitempty"`
	Content string `json:"content,omitempty"`
}

Jump to

Keyboard shortcuts

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