types

package
v0.20.6 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2021 License: MIT Imports: 1 Imported by: 4

Documentation

Index

Constants

View Source
const (
	UserBackendTypeDefault = "bke_default"
	UserBackendTypeBCSAuth = "bcs_auth"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type EmptyResponse

type EmptyResponse struct{}

type ErrorRespWithStatus

type ErrorRespWithStatus struct {
	Resp       *ErrorResponse
	StatusCode int
}

ErrorRespWithStatus is useful for common helper functions

func (*ErrorRespWithStatus) WriteToResp

func (resp *ErrorRespWithStatus) WriteToResp(response *restful.Response)

type ErrorResponse

type ErrorResponse struct {
	CodeName string `json:"code_name"`
	Message  string `json:"message"`
}

Jump to

Keyboard shortcuts

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