limb

package
v0.0.0-...-fe00bee Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2023 License: MIT Imports: 28 Imported by: 0

Documentation

Index

Constants

View Source
const SEP_EVENT_KEY = ";"

Variables

View Source
var (
	ErrSMSRequestError = errors.New("sms request error")
)

Functions

This section is empty.

Types

type Bot

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

func NewBot

func NewBot(config *common.Configure, pushFunc func(*common.OctopusEvent)) *Bot

func (*Bot) Login

func (b *Bot) Login()

func (*Bot) Start

func (b *Bot) Start()

func (*Bot) Stop

func (b *Bot) Stop()

type EventKey

type EventKey struct {
	Seq string
	ID  string
}

func EventKeyFromString

func EventKeyFromString(str string) (*EventKey, error)

func NewEventKey

func NewEventKey(seq, id int32) EventKey

func NewPartialKey

func NewPartialKey(seq int64) EventKey

func (EventKey) IntID

func (ek EventKey) IntID() int64

func (EventKey) IntSeq

func (ek EventKey) IntSeq() int64

func (EventKey) String

func (mk EventKey) String() string

type LimbService

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

func NewLimbService

func NewLimbService(config *common.Configure) *LimbService

func (*LimbService) Start

func (ls *LimbService) Start()

func (*LimbService) Stop

func (ls *LimbService) Stop()

Jump to

Keyboard shortcuts

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