proto

package
v0.1.0-rc7 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MiddlewareError

type MiddlewareError interface {
	error
	Message() *ResponseMessage
	Status() int
}

type ResponseMessage

type ResponseMessage struct {
	Code    string `json:"code"`
	Message string `json:"message"`
}

type Success

type Success struct{}

func (*Success) Error

func (e *Success) Error() string

func (*Success) Message

func (e *Success) Message() *ResponseMessage

func (*Success) Status

func (e *Success) Status() int

Jump to

Keyboard shortcuts

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