support

package
v0.0.0-...-b2c82e1 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ChatService

type ChatService interface{}

type FactService

type FactService interface {
	FactResponse(issuer, subject string, response []byte) ([]fact.Fact, error)
	RequestAsync(req *fact.FactRequestAsync) error
}

type MessagingService

type MessagingService interface {
	Subscribe(messageType string, h func(m *messaging.Message))
}

type QueueSender

type QueueSender interface {
	Send(context.Context, goqite.Message) error
}

type SelfClient

type SelfClient interface {
	Start() error
	SelfAppID() string
	MessagingService() MessagingService
	ChatService() ChatService
	FactService() FactService
	Stop()
	Get() *selfsdk.Client
}

func NewSelfClient

func NewSelfClient(client *selfsdk.Client) SelfClient

type SelfClientGetter

type SelfClientGetter interface {
	Get(id string) (*selfsdk.Client, bool)
	Poster(id string) (webhook.Poster, bool)
}

Jump to

Keyboard shortcuts

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