Documentation ¶
Index ¶
Constants ¶
View Source
const ( ApiRequestIdField = "api-request-id" RequestIdField = "request-id" UserIdField = "user-id" FunctionIdField = "function-id" )
Variables ¶
This section is empty.
Functions ¶
func GetApiRequestId ¶
func GetRequestId ¶
Types ¶
type ClientError ¶
func (*ClientError) Error ¶
func (e *ClientError) Error() string
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
func NewHandler ¶
func NewHandler(service interface{}) *Handler
type InternalError ¶
func (*InternalError) Error ¶
func (e *InternalError) Error() string
type InvalidMethodError ¶
type InvalidMethodError struct { Details string InvalidParam interface{} }
func (*InvalidMethodError) Error ¶
func (e *InvalidMethodError) Error() string
Click to show internal directories.
Click to hide internal directories.