addmsg

package
v0.0.0-...-bb86daa Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2020 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddMsg

func AddMsg(r *gin.Engine, client *firestore.Client, ctx context.Context)

Types

type Msg

type Msg struct {
	Users   []User `json:"mention"`
	Pass    string `json:"pass"`
	Text    string `json:"text"`
	Channel string `json:"channel"`
}

type User

type User struct {
	SlackRN   string `json:"SlackRN"`
	SlackID   string `json:"SlackID"`
	TwitterID string `json:"TwitterID"`
}

Jump to

Keyboard shortcuts

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