internal

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Send

func Send(ctx context.Context, token string, chatID int64, subject, message string) error

func SendBatch

func SendBatch(ctx context.Context, token string, chatID int64, messages map[string]string) error

Types

type Handler

type Handler struct {
	porter.UnimplementedLibrarianPorterServiceServer
	// contains filtered or unexported fields
}

func NewHandler

func NewHandler() *Handler

func (*Handler) DisableContext added in v0.0.2

func (*Handler) EnableContext added in v0.0.2

func (*Handler) EnablePorter added in v0.0.2

func (*Handler) PushFeedItems

type PorterContext added in v0.0.2

type PorterContext struct {
	Token string `json:"token" jsonschema:"title=Token"`
}

type PushFeedItems added in v0.0.2

type PushFeedItems struct {
	ChannelID int64 `json:"channel_id,string" jsonschema:"title=Channel ID"`
}

Jump to

Keyboard shortcuts

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