rpcservice

package
v0.0.0-...-fedd180 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2014 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DisableLog

func DisableLog()

DisableLog disables all library log output

func FlushLog

func FlushLog()

Call this before app shutdown

func UseLogger

func UseLogger(newLogger log.LoggerInterface)

UseLogger uses a specified seelogger.LoggerInterface to output library logger. Use this func if you are using Seelog logging system in your app.

Types

type GetActualStatus_Args

type GetActualStatus_Args struct {
	Id int64
}

type GetActualStatus_Reply

type GetActualStatus_Reply struct {
	Status *MessageStatus
}

type SMSService

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

Service Definition

func NewSMSService

func NewSMSService(senderChecker *gosmsc.SenderCheckerImpl) (*SMSService, error)

func (*SMSService) GetActualStatus

func (h *SMSService) GetActualStatus(r *http.Request, msg *GetActualStatus_Args, reply *GetActualStatus_Reply) error

SMSCClientInterface implementation

func (*SMSService) Send

func (h *SMSService) Send(r *http.Request, msg *Send_Args, reply *Send_Reply) error

SMSCClientInterface implementation

type Send_Args

type Send_Args struct {
	Phone string
	Text  string
	Track bool
}

type Send_Reply

type Send_Reply struct {
	Id int64
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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