Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIHelloResponse ¶
type APIHelloResponse struct {
// reply
Reply string `json:"reply,omitempty"`
}
APIHelloResponse api hello response
swagger:model apiHelloResponse
func (*APIHelloResponse) ContextValidate ¶
ContextValidate validates this api hello response based on context it is used
func (*APIHelloResponse) MarshalBinary ¶
func (m *APIHelloResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*APIHelloResponse) UnmarshalBinary ¶
func (m *APIHelloResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ProtobufAny ¶
type ProtobufAny struct {
// at type
AtType string `json:"@type,omitempty"`
}
ProtobufAny protobuf any
swagger:model protobufAny
func (*ProtobufAny) ContextValidate ¶
ContextValidate validates this protobuf any based on context it is used
func (*ProtobufAny) MarshalBinary ¶
func (m *ProtobufAny) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ProtobufAny) UnmarshalBinary ¶
func (m *ProtobufAny) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RPCStatus ¶
type RPCStatus struct {
// code
Code int32 `json:"code,omitempty"`
// details
Details []*ProtobufAny `json:"details"`
// message
Message string `json:"message,omitempty"`
}
RPCStatus rpc status
swagger:model rpcStatus
func (*RPCStatus) ContextValidate ¶
ContextValidate validate this rpc status based on the context it is used
func (*RPCStatus) MarshalBinary ¶
MarshalBinary interface implementation
func (*RPCStatus) UnmarshalBinary ¶
UnmarshalBinary interface implementation
Click to show internal directories.
Click to hide internal directories.