Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type I18nMessageHandlerInterface ¶
type I18nMessageHandlerInterface interface { SetCore(data gogo_i18n.GoGoi18nInterface) SetModule(module string) GetSuccess(result interface{}) (int, *e.Response) CreateSuccess(result interface{}) (int, *e.Response) UpdateSuccess(result interface{}) (int, *e.Response) ModifySuccess(result interface{}) (int, *e.Response) DeleteSuccess(result interface{}) (int, *e.Response) AppendSuccess(module string, result interface{}) (int, *e.Response) RemoveSuccess(module string, result interface{}) (int, *e.Response) ParameterFormatError() *e.APIException ParameterIntError(data string, err error) *e.APIException GetError(err error) *e.APIException GetModuleError(module string, err error) *e.APIException CreateError(err error) *e.APIException UpdateError(err error) *e.APIException ModifyError(err error) *e.APIException DeleteError(err error) *e.APIException AppendError(module string, err error) *e.APIException RemoveError(module string, err error) *e.APIException }
func NewI18nMessageHandler ¶
func NewI18nMessageHandler(moduleName string) I18nMessageHandlerInterface
NewI18nMessageHandler 建立 i18nMessageHandler 實例
Click to show internal directories.
Click to hide internal directories.