Versions in this module Expand all Collapse all v1 v1.19.0 Feb 11, 2026 v1.18.0 Dec 1, 2025 v1.17.0 Nov 25, 2025 Changes in this version + func WithServerURL(ctx context.Context, u *url.URL) context.Context + type Client struct + func NewClient(serverURL string, opts ...ClientOption) (*Client, error) + func (c *Client) CreateWorkflowStatuses(ctx context.Context, request *CreateWorkflowStatusesReq) (*CreateWorkflowStatusesOK, error) + type ClientOption interface + func WithClient(client ht.Client) ClientOption + type CreateWorkflowStatusesOK struct + Created OptInt + func (s *CreateWorkflowStatusesOK) Decode(d *jx.Decoder) error + func (s *CreateWorkflowStatusesOK) Encode(e *jx.Encoder) + func (s *CreateWorkflowStatusesOK) GetCreated() OptInt + func (s *CreateWorkflowStatusesOK) MarshalJSON() ([]byte, error) + func (s *CreateWorkflowStatusesOK) SetCreated(val OptInt) + func (s *CreateWorkflowStatusesOK) UnmarshalJSON(data []byte) error + type CreateWorkflowStatusesReq struct + Statuses []WorkflowStatus + func (s *CreateWorkflowStatusesReq) Decode(d *jx.Decoder) error + func (s *CreateWorkflowStatusesReq) Encode(e *jx.Encoder) + func (s *CreateWorkflowStatusesReq) GetStatuses() []WorkflowStatus + func (s *CreateWorkflowStatusesReq) MarshalJSON() ([]byte, error) + func (s *CreateWorkflowStatusesReq) SetStatuses(val []WorkflowStatus) + func (s *CreateWorkflowStatusesReq) UnmarshalJSON(data []byte) error + func (s *CreateWorkflowStatusesReq) Validate() error + type ErrorHandler = ogenerrors.ErrorHandler + type Handler interface + CreateWorkflowStatuses func(ctx context.Context, req *CreateWorkflowStatusesReq) (*CreateWorkflowStatusesOK, error) + type Invoker interface + CreateWorkflowStatuses func(ctx context.Context, request *CreateWorkflowStatusesReq) (*CreateWorkflowStatusesOK, error) + type Labeler struct + func LabelerFromContext(ctx context.Context) (*Labeler, bool) + func (l *Labeler) Add(attrs ...attribute.KeyValue) + func (l *Labeler) AttributeSet() attribute.Set + type Middleware = middleware.Middleware + type OperationName = string + const CreateWorkflowStatusesOperation + type OptBool struct + Set bool + Value bool + func NewOptBool(v bool) OptBool + func (o *OptBool) Decode(d *jx.Decoder) error + func (o *OptBool) Reset() + func (o *OptBool) SetTo(v bool) + func (o OptBool) Encode(e *jx.Encoder) + func (o OptBool) Get() (v bool, ok bool) + func (o OptBool) IsSet() bool + func (o OptBool) Or(d bool) bool + func (s *OptBool) UnmarshalJSON(data []byte) error + func (s OptBool) MarshalJSON() ([]byte, error) + type OptInt struct + Set bool + Value int + func NewOptInt(v int) OptInt + func (o *OptInt) Decode(d *jx.Decoder) error + func (o *OptInt) Reset() + func (o *OptInt) SetTo(v int) + func (o OptInt) Encode(e *jx.Encoder) + func (o OptInt) Get() (v int, ok bool) + func (o OptInt) IsSet() bool + func (o OptInt) Or(d int) int + func (s *OptInt) UnmarshalJSON(data []byte) error + func (s OptInt) MarshalJSON() ([]byte, error) + type OptStatusProperties struct + Set bool + Value StatusProperties + func NewOptStatusProperties(v StatusProperties) OptStatusProperties + func (o *OptStatusProperties) Decode(d *jx.Decoder) error + func (o *OptStatusProperties) Reset() + func (o *OptStatusProperties) SetTo(v StatusProperties) + func (o OptStatusProperties) Encode(e *jx.Encoder) + func (o OptStatusProperties) Get() (v StatusProperties, ok bool) + func (o OptStatusProperties) IsSet() bool + func (o OptStatusProperties) Or(d StatusProperties) StatusProperties + func (s *OptStatusProperties) UnmarshalJSON(data []byte) error + func (s OptStatusProperties) MarshalJSON() ([]byte, error) + type OptStatusPropertiesCategory struct + Set bool + Value StatusPropertiesCategory + func NewOptStatusPropertiesCategory(v StatusPropertiesCategory) OptStatusPropertiesCategory + func (o *OptStatusPropertiesCategory) Decode(d *jx.Decoder) error + func (o *OptStatusPropertiesCategory) Reset() + func (o *OptStatusPropertiesCategory) SetTo(v StatusPropertiesCategory) + func (o OptStatusPropertiesCategory) Encode(e *jx.Encoder) + func (o OptStatusPropertiesCategory) Get() (v StatusPropertiesCategory, ok bool) + func (o OptStatusPropertiesCategory) IsSet() bool + func (o OptStatusPropertiesCategory) Or(d StatusPropertiesCategory) StatusPropertiesCategory + func (s *OptStatusPropertiesCategory) UnmarshalJSON(data []byte) error + func (s OptStatusPropertiesCategory) MarshalJSON() ([]byte, error) + type OptString struct + Set bool + Value string + func NewOptString(v string) OptString + func (o *OptString) Decode(d *jx.Decoder) error + func (o *OptString) Reset() + func (o *OptString) SetTo(v string) + func (o OptString) Encode(e *jx.Encoder) + func (o OptString) Get() (v string, ok bool) + func (o OptString) IsSet() bool + func (o OptString) Or(d string) string + func (s *OptString) UnmarshalJSON(data []byte) error + func (s OptString) MarshalJSON() ([]byte, error) + type Option interface + func WithAttributes(attributes ...attribute.KeyValue) Option + func WithMeterProvider(provider metric.MeterProvider) Option + func WithTracerProvider(provider trace.TracerProvider) Option + type Route struct + func (r Route) Args() []string + func (r Route) Name() string + func (r Route) OperationID() string + func (r Route) PathPattern() string + func (r Route) Summary() string + type Server struct + func NewServer(h Handler, opts ...ServerOption) (*Server, error) + func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) + func (s *Server) FindRoute(method, path string) (Route, bool) + func (s *Server) ServeHTTP(w http.ResponseWriter, r *http.Request) + type ServerOption interface + func WithErrorHandler(h ErrorHandler) ServerOption + func WithMaxMultipartMemory(max int64) ServerOption + func WithMethodNotAllowed(methodNotAllowed func(w http.ResponseWriter, r *http.Request, allowed string)) ServerOption + func WithMiddleware(m ...Middleware) ServerOption + func WithNotFound(notFound http.HandlerFunc) ServerOption + func WithPathPrefix(prefix string) ServerOption + type StatusProperties struct + Category OptStatusPropertiesCategory + Color OptString + IsDefault OptBool + func (a StatusProperties) Equal(b StatusProperties, depth int) bool + func (a StatusProperties) Hash() uint64 + func (s *StatusProperties) Decode(d *jx.Decoder) error + func (s *StatusProperties) Encode(e *jx.Encoder) + func (s *StatusProperties) GetCategory() OptStatusPropertiesCategory + func (s *StatusProperties) GetColor() OptString + func (s *StatusProperties) GetIsDefault() OptBool + func (s *StatusProperties) MarshalJSON() ([]byte, error) + func (s *StatusProperties) SetCategory(val OptStatusPropertiesCategory) + func (s *StatusProperties) SetColor(val OptString) + func (s *StatusProperties) SetIsDefault(val OptBool) + func (s *StatusProperties) UnmarshalJSON(data []byte) error + func (s *StatusProperties) Validate() error + type StatusPropertiesCategory string + const StatusPropertiesCategoryDONE + const StatusPropertiesCategoryINPROGRESS + const StatusPropertiesCategoryTODO + func (StatusPropertiesCategory) AllValues() []StatusPropertiesCategory + func (s *StatusPropertiesCategory) Decode(d *jx.Decoder) error + func (s *StatusPropertiesCategory) UnmarshalJSON(data []byte) error + func (s *StatusPropertiesCategory) UnmarshalText(data []byte) error + func (s StatusPropertiesCategory) Encode(e *jx.Encoder) + func (s StatusPropertiesCategory) MarshalJSON() ([]byte, error) + func (s StatusPropertiesCategory) MarshalText() ([]byte, error) + func (s StatusPropertiesCategory) Validate() error + type UnimplementedHandler struct + func (UnimplementedHandler) CreateWorkflowStatuses(ctx context.Context, req *CreateWorkflowStatusesReq) (r *CreateWorkflowStatusesOK, _ error) + type WorkflowStatus struct + Description OptString + ID string + Name string + Properties OptStatusProperties + func (a WorkflowStatus) Equal(b WorkflowStatus, depth int) bool + func (a WorkflowStatus) Hash() uint64 + func (s *WorkflowStatus) Decode(d *jx.Decoder) error + func (s *WorkflowStatus) Encode(e *jx.Encoder) + func (s *WorkflowStatus) GetDescription() OptString + func (s *WorkflowStatus) GetID() string + func (s *WorkflowStatus) GetName() string + func (s *WorkflowStatus) GetProperties() OptStatusProperties + func (s *WorkflowStatus) MarshalJSON() ([]byte, error) + func (s *WorkflowStatus) SetDescription(val OptString) + func (s *WorkflowStatus) SetID(val string) + func (s *WorkflowStatus) SetName(val string) + func (s *WorkflowStatus) SetProperties(val OptStatusProperties) + func (s *WorkflowStatus) UnmarshalJSON(data []byte) error + func (s *WorkflowStatus) Validate() error