im

package
v0.1.7 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2025 License: MIT Imports: 5 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 {
	sptty.BaseConfig

	Endpoints map[string]base.IMEndpoint `yaml:"endpoints"`
}

func (*Config) ConfigName

func (s *Config) ConfigName() string

type Service

type Service struct {
	sptty.BaseService
	// contains filtered or unexported fields
}

func (*Service) GetHostByRegion

func (s *Service) GetHostByRegion(providerName string, code string) (string, error)

func (*Service) Init

func (s *Service) Init(app sptty.ISptty) error

func (*Service) PostMessage

func (s *Service) PostMessage(providerName string, msg *base.IMMessage) error

func (*Service) ServiceName

func (s *Service) ServiceName() string

Directories

Path Synopsis
vendors

Jump to

Keyboard shortcuts

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