responses

package
v0.0.0-...-e2c1db5 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2015 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BaseResponseObject

type BaseResponseObject struct {
	Success    bool
	MessageKey string
}

func CreateBaseResponseObject

func CreateBaseResponseObject(success bool, messageKey string) *BaseResponseObject

func (*BaseResponseObject) GetMessageKey

func (this *BaseResponseObject) GetMessageKey() string

func (*BaseResponseObject) GetSuccess

func (this *BaseResponseObject) GetSuccess() bool

func (*BaseResponseObject) SetMessageKey

func (this *BaseResponseObject) SetMessageKey(newMessageKey string)

func (*BaseResponseObject) SetSuccess

func (this *BaseResponseObject) SetSuccess(newSuccess bool)

type EmptySuccessResponseObject

type EmptySuccessResponseObject struct {
	*BaseResponseObject
}

func CreateEmptySuccessResponseObject

func CreateEmptySuccessResponseObject() *EmptySuccessResponseObject

type IRouterResponseObject

type IRouterResponseObject interface {
	GetSuccess() bool
	GetMessageKey() string
}

Jump to

Keyboard shortcuts

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