phone

package
v0.0.0-...-a5c2be1 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2021 License: MIT Imports: 2 Imported by: 0

README

单一职责原则

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IConnectionManager

type IConnectionManager interface {
	Dial(string) bool
	Hangup()
}

type IDataTransfer

type IDataTransfer interface {
	DataTransfer()
}

type IPhone

type IPhone interface {
	IConnectionManager
	IDataTransfer
}

type Service

type Service struct {
}

func NewService

func NewService() *Service

func (Service) DataTransfer

func (s Service) DataTransfer()

func (Service) Dial

func (s Service) Dial(p string) bool

func (Service) Hangup

func (s Service) Hangup()

Jump to

Keyboard shortcuts

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