app

package
v0.0.0-...-b23f8ac Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetApplicationToCtx

func SetApplicationToCtx(ctx context.Context, application *App) context.Context

Types

type App

type App struct {
	Commands Commands
	Queries  Queries
}

func GetApplication

func GetApplication(ctx context.Context) (*App, error)

type Commands

type Commands struct {
	UpdateChat commands.UpdateChatHandler
	CreateChat commands.CreateChatHandler
}

type Queries

type Queries struct {
	GetUserChats queries.GetUserChatsHandler
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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