rest_chats

package
v0.0.0-...-23ae872 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2022 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Listen string `env:"CHATS_LISTEN_ADDRESS,default=localhost:8084"`
}

type Service

type Service struct {
	// contains filtered or unexported fields
}

func (*Service) ChatCreate

func (s *Service) ChatCreate(c *fiber.Ctx) error

func (*Service) ChatPostMessage

func (s *Service) ChatPostMessage(c *fiber.Ctx) error

func (*Service) GetChatMessages

func (s *Service) GetChatMessages(c *fiber.Ctx) error

func (*Service) GetUserChats

func (s *Service) GetUserChats(c *fiber.Ctx) error

func (*Service) Protected

func (s *Service) Protected(c *fiber.Ctx) error

func (*Service) Run

func (s *Service) Run(ctx context.Context) error

func (*Service) Shutdown

func (s *Service) Shutdown(ctx context.Context) error

Jump to

Keyboard shortcuts

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