Documentation ¶
Index ¶
- type Api
- type AuthenticationApi
- type AuthenticationRequest
- type AuthenticationResponse
- type EventChannelApi
- type HealthApi
- type HealthResponse
- type LogApi
- type MetricsApi
- type PropertyValueWrapper
- type RecordApi
- type RecordList
- type RecordWrapper
- type RefreshTokenRequest
- type RefreshTokenResponse
- type ResourceApi
- type Router
- type SearchRecordRequest
- type Server
- type ServiceCaller
- type Token
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Api ¶ added in v1.2.36
func NewPprofApi ¶ added in v1.2.36
func NewPprofApi() Api
type AuthenticationApi ¶ added in v1.2.36
func NewAuthenticationApi ¶ added in v1.2.36
func NewAuthenticationApi(service service.AuthenticationService) AuthenticationApi
type AuthenticationRequest ¶ added in v1.2.36
type AuthenticationResponse ¶ added in v1.2.36
type AuthenticationResponse struct {
Token Token `json:"token"`
}
type EventChannelApi ¶ added in v1.1.48
func NewEventChannelApi ¶ added in v1.1.48
func NewEventChannelApi(container service.Container) EventChannelApi
type HealthApi ¶ added in v1.1.37
func NewHealthApi ¶ added in v1.1.37
func NewHealthApi() HealthApi
type HealthResponse ¶ added in v1.1.37
type HealthResponse struct {
Status string `json:"status"`
}
type MetricsApi ¶ added in v1.1.37
func NewMetricsApi ¶ added in v1.1.37
func NewMetricsApi(service service.MetricsService) MetricsApi
type PropertyValueWrapper ¶ added in v1.1.37
func (*PropertyValueWrapper) MarshalJSON ¶ added in v1.1.37
func (pvw *PropertyValueWrapper) MarshalJSON() ([]byte, error)
func (*PropertyValueWrapper) UnmarshalJSON ¶ added in v1.1.37
func (pvw *PropertyValueWrapper) UnmarshalJSON(data []byte) error
type RecordApi ¶ added in v1.1.37
func NewRecordApi ¶ added in v1.1.37
type RecordList ¶ added in v1.1.37
type RecordList struct { Total uint64 `json:"total"` Records []*RecordWrapper `json:"content"` }
type RecordWrapper ¶ added in v1.1.37
type RecordWrapper struct {
// contains filtered or unexported fields
}
func NewEmptyRecordWrapper ¶ added in v1.1.37
func NewEmptyRecordWrapper() *RecordWrapper
func NewRecordWrapper ¶ added in v1.1.37
func NewRecordWrapper(record *model.Record) *RecordWrapper
func (*RecordWrapper) MarshalJSON ¶ added in v1.1.37
func (rw *RecordWrapper) MarshalJSON() ([]byte, error)
func (*RecordWrapper) UnmarshalJSON ¶ added in v1.1.37
func (rw *RecordWrapper) UnmarshalJSON(data []byte) error
type RefreshTokenRequest ¶ added in v1.2.36
type RefreshTokenResponse ¶ added in v1.2.36
type RefreshTokenResponse struct {
Token Token `json:"token"`
}
type ResourceApi ¶ added in v1.1.37
func NewResourceApi ¶ added in v1.1.37
func NewResourceApi(container service.Container) ResourceApi
type SearchRecordRequest ¶ added in v1.1.37
type SearchRecordRequest struct { Query *resource_model.BooleanExpression `json:"query,omitempty"` Limit uint32 `json:"limit,omitempty"` Offset uint64 `json:"offset,omitempty"` UseHistory bool `json:"useHistory,omitempty"` ResolveReferences []string `json:"resolveReferences,omitempty"` Annotations map[string]string `json:"annotations,omitempty"` }
type Server ¶
type ServiceCaller ¶ added in v1.1.37
type ServiceCaller struct {
// contains filtered or unexported fields
}
func ServiceResponder ¶ added in v1.1.37
func ServiceResponder() ServiceCaller
func (ServiceCaller) Respond ¶ added in v1.1.37
func (s ServiceCaller) Respond(result interface{}, serviceError errors.ServiceError)
func (ServiceCaller) Writer ¶ added in v1.1.37
func (s ServiceCaller) Writer(writer http.ResponseWriter) ServiceCaller
Source Files ¶
Click to show internal directories.
Click to hide internal directories.