controller

package
v0.0.0-...-8c80050 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	PUBSUB_NAME  = "orderpubsub"
	PUBSUB_TOPIC = "orders"
)

Functions

This section is empty.

Types

type Controller

type Controller struct {
}

Controller example

func NewController

func NewController() *Controller

NewController example

func (*Controller) PostMessage

func (c *Controller) PostMessage(ctx *gin.Context)

type Message

type Message struct {
	Message string `json:"message" example:"message"`
}

Message example

Jump to

Keyboard shortcuts

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