InfrastructureConnection

package
v0.0.0-...-3496b99 Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2020 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 HTTPConnection

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

HTTP通信

func NewHTTPConnection

func NewHTTPConnection() *HTTPConnection

コンストラクタ

func (*HTTPConnection) AddAccessEvent

func (this *HTTPConnection) AddAccessEvent(event Connection.AccessEventInterface)

アクセスイベント追加

func (*HTTPConnection) Service

func (this *HTTPConnection) Service(port string)

実行

type LINEAccessEvent

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

LINEからの接続

func NewLINEAccessEvent

func NewLINEAccessEvent() *LINEAccessEvent

コンストラクタ

func (*LINEAccessEvent) GetInfo

func (this *LINEAccessEvent) GetInfo() (Connection.AccessMethod, string)

情報取得

func (*LINEAccessEvent) OnAccess

func (this *LINEAccessEvent) OnAccess(gtx interface{})

接続された時に走るイベント

type LocalAccessEvent

type LocalAccessEvent struct{}

ローカルからの接続

func NewLocalAccessEvent

func NewLocalAccessEvent() *LocalAccessEvent

コンストラクタ

func (*LocalAccessEvent) GetInfo

func (this *LocalAccessEvent) GetInfo() (Connection.AccessMethod, string)

情報取得

func (*LocalAccessEvent) OnAccess

func (this *LocalAccessEvent) OnAccess(gtx interface{})

接続された時に走るイベント

Jump to

Keyboard shortcuts

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