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) CreateWorkflowTransitions(ctx context.Context, request *CreateWorkflowTransitionsReq) (*CreateWorkflowTransitionsOK, error) + type ClientOption interface + func WithClient(client ht.Client) ClientOption + type Condition struct + Configuration OptRuleConfiguration + Negated OptBool + Type OptString + func (a Condition) Equal(b Condition, depth int) bool + func (a Condition) Hash() uint64 + func (s *Condition) Decode(d *jx.Decoder) error + func (s *Condition) Encode(e *jx.Encoder) + func (s *Condition) GetConfiguration() OptRuleConfiguration + func (s *Condition) GetNegated() OptBool + func (s *Condition) GetType() OptString + func (s *Condition) MarshalJSON() ([]byte, error) + func (s *Condition) SetConfiguration(val OptRuleConfiguration) + func (s *Condition) SetNegated(val OptBool) + func (s *Condition) SetType(val OptString) + func (s *Condition) UnmarshalJSON(data []byte) error + func (s *Condition) Validate() error + type ConditionGroup struct + Condition OptCondition + Operator OptConditionGroupOperator + func (a ConditionGroup) Equal(b ConditionGroup, depth int) bool + func (a ConditionGroup) Hash() uint64 + func (s *ConditionGroup) Decode(d *jx.Decoder) error + func (s *ConditionGroup) Encode(e *jx.Encoder) + func (s *ConditionGroup) GetCondition() OptCondition + func (s *ConditionGroup) GetOperator() OptConditionGroupOperator + func (s *ConditionGroup) MarshalJSON() ([]byte, error) + func (s *ConditionGroup) SetCondition(val OptCondition) + func (s *ConditionGroup) SetOperator(val OptConditionGroupOperator) + func (s *ConditionGroup) UnmarshalJSON(data []byte) error + func (s *ConditionGroup) Validate() error + type ConditionGroupOperator string + const ConditionGroupOperatorAND + const ConditionGroupOperatorOR + func (ConditionGroupOperator) AllValues() []ConditionGroupOperator + func (s *ConditionGroupOperator) Decode(d *jx.Decoder) error + func (s *ConditionGroupOperator) UnmarshalJSON(data []byte) error + func (s *ConditionGroupOperator) UnmarshalText(data []byte) error + func (s ConditionGroupOperator) Encode(e *jx.Encoder) + func (s ConditionGroupOperator) MarshalJSON() ([]byte, error) + func (s ConditionGroupOperator) MarshalText() ([]byte, error) + func (s ConditionGroupOperator) Validate() error + type CreateWorkflowTransitionsOK struct + Created OptInt + func (s *CreateWorkflowTransitionsOK) Decode(d *jx.Decoder) error + func (s *CreateWorkflowTransitionsOK) Encode(e *jx.Encoder) + func (s *CreateWorkflowTransitionsOK) GetCreated() OptInt + func (s *CreateWorkflowTransitionsOK) MarshalJSON() ([]byte, error) + func (s *CreateWorkflowTransitionsOK) SetCreated(val OptInt) + func (s *CreateWorkflowTransitionsOK) UnmarshalJSON(data []byte) error + type CreateWorkflowTransitionsReq struct + Transitions []WorkflowTransition + func (s *CreateWorkflowTransitionsReq) Decode(d *jx.Decoder) error + func (s *CreateWorkflowTransitionsReq) Encode(e *jx.Encoder) + func (s *CreateWorkflowTransitionsReq) GetTransitions() []WorkflowTransition + func (s *CreateWorkflowTransitionsReq) MarshalJSON() ([]byte, error) + func (s *CreateWorkflowTransitionsReq) SetTransitions(val []WorkflowTransition) + func (s *CreateWorkflowTransitionsReq) UnmarshalJSON(data []byte) error + func (s *CreateWorkflowTransitionsReq) Validate() error + type ErrorHandler = ogenerrors.ErrorHandler + type Handler interface + CreateWorkflowTransitions func(ctx context.Context, req *CreateWorkflowTransitionsReq) (*CreateWorkflowTransitionsOK, error) + type Invoker interface + CreateWorkflowTransitions func(ctx context.Context, request *CreateWorkflowTransitionsReq) (*CreateWorkflowTransitionsOK, 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 CreateWorkflowTransitionsOperation + 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 OptCondition struct + Set bool + Value Condition + func NewOptCondition(v Condition) OptCondition + func (o *OptCondition) Decode(d *jx.Decoder) error + func (o *OptCondition) Reset() + func (o *OptCondition) SetTo(v Condition) + func (o OptCondition) Encode(e *jx.Encoder) + func (o OptCondition) Get() (v Condition, ok bool) + func (o OptCondition) IsSet() bool + func (o OptCondition) Or(d Condition) Condition + func (s *OptCondition) UnmarshalJSON(data []byte) error + func (s OptCondition) MarshalJSON() ([]byte, error) + type OptConditionGroup struct + Set bool + Value ConditionGroup + func NewOptConditionGroup(v ConditionGroup) OptConditionGroup + func (o *OptConditionGroup) Decode(d *jx.Decoder) error + func (o *OptConditionGroup) Reset() + func (o *OptConditionGroup) SetTo(v ConditionGroup) + func (o OptConditionGroup) Encode(e *jx.Encoder) + func (o OptConditionGroup) Get() (v ConditionGroup, ok bool) + func (o OptConditionGroup) IsSet() bool + func (o OptConditionGroup) Or(d ConditionGroup) ConditionGroup + func (s *OptConditionGroup) UnmarshalJSON(data []byte) error + func (s OptConditionGroup) MarshalJSON() ([]byte, error) + type OptConditionGroupOperator struct + Set bool + Value ConditionGroupOperator + func NewOptConditionGroupOperator(v ConditionGroupOperator) OptConditionGroupOperator + func (o *OptConditionGroupOperator) Decode(d *jx.Decoder) error + func (o *OptConditionGroupOperator) Reset() + func (o *OptConditionGroupOperator) SetTo(v ConditionGroupOperator) + func (o OptConditionGroupOperator) Encode(e *jx.Encoder) + func (o OptConditionGroupOperator) Get() (v ConditionGroupOperator, ok bool) + func (o OptConditionGroupOperator) IsSet() bool + func (o OptConditionGroupOperator) Or(d ConditionGroupOperator) ConditionGroupOperator + func (s *OptConditionGroupOperator) UnmarshalJSON(data []byte) error + func (s OptConditionGroupOperator) MarshalJSON() ([]byte, error) + type OptFloat64 struct + Set bool + Value float64 + func NewOptFloat64(v float64) OptFloat64 + func (o *OptFloat64) Decode(d *jx.Decoder) error + func (o *OptFloat64) Reset() + func (o *OptFloat64) SetTo(v float64) + func (o OptFloat64) Encode(e *jx.Encoder) + func (o OptFloat64) Get() (v float64, ok bool) + func (o OptFloat64) IsSet() bool + func (o OptFloat64) Or(d float64) float64 + func (s *OptFloat64) UnmarshalJSON(data []byte) error + func (s OptFloat64) 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 OptParameter struct + Set bool + Value Parameter + func NewOptParameter(v Parameter) OptParameter + func (o *OptParameter) Decode(d *jx.Decoder) error + func (o *OptParameter) Reset() + func (o *OptParameter) SetTo(v Parameter) + func (o OptParameter) Encode(e *jx.Encoder) + func (o OptParameter) Get() (v Parameter, ok bool) + func (o OptParameter) IsSet() bool + func (o OptParameter) Or(d Parameter) Parameter + func (s *OptParameter) UnmarshalJSON(data []byte) error + func (s OptParameter) MarshalJSON() ([]byte, error) + type OptParameterGroup struct + Set bool + Value ParameterGroup + func NewOptParameterGroup(v ParameterGroup) OptParameterGroup + func (o *OptParameterGroup) Decode(d *jx.Decoder) error + func (o *OptParameterGroup) Reset() + func (o *OptParameterGroup) SetTo(v ParameterGroup) + func (o OptParameterGroup) Encode(e *jx.Encoder) + func (o OptParameterGroup) Get() (v ParameterGroup, ok bool) + func (o OptParameterGroup) IsSet() bool + func (o OptParameterGroup) Or(d ParameterGroup) ParameterGroup + func (s *OptParameterGroup) UnmarshalJSON(data []byte) error + func (s OptParameterGroup) MarshalJSON() ([]byte, error) + type OptParameterValue struct + Set bool + Value ParameterValue + func NewOptParameterValue(v ParameterValue) OptParameterValue + func (o *OptParameterValue) Decode(d *jx.Decoder) error + func (o *OptParameterValue) Reset() + func (o *OptParameterValue) SetTo(v ParameterValue) + func (o OptParameterValue) Encode(e *jx.Encoder) + func (o OptParameterValue) Get() (v ParameterValue, ok bool) + func (o OptParameterValue) IsSet() bool + func (o OptParameterValue) Or(d ParameterValue) ParameterValue + func (s *OptParameterValue) UnmarshalJSON(data []byte) error + func (s OptParameterValue) MarshalJSON() ([]byte, error) + type OptParameterValueMetadata struct + Set bool + Value ParameterValueMetadata + func NewOptParameterValueMetadata(v ParameterValueMetadata) OptParameterValueMetadata + func (o *OptParameterValueMetadata) Decode(d *jx.Decoder) error + func (o *OptParameterValueMetadata) Reset() + func (o *OptParameterValueMetadata) SetTo(v ParameterValueMetadata) + func (o OptParameterValueMetadata) Encode(e *jx.Encoder) + func (o OptParameterValueMetadata) Get() (v ParameterValueMetadata, ok bool) + func (o OptParameterValueMetadata) IsSet() bool + func (o OptParameterValueMetadata) Or(d ParameterValueMetadata) ParameterValueMetadata + func (s *OptParameterValueMetadata) UnmarshalJSON(data []byte) error + func (s OptParameterValueMetadata) MarshalJSON() ([]byte, error) + type OptRuleConfiguration struct + Set bool + Value RuleConfiguration + func NewOptRuleConfiguration(v RuleConfiguration) OptRuleConfiguration + func (o *OptRuleConfiguration) Decode(d *jx.Decoder) error + func (o *OptRuleConfiguration) Reset() + func (o *OptRuleConfiguration) SetTo(v RuleConfiguration) + func (o OptRuleConfiguration) Encode(e *jx.Encoder) + func (o OptRuleConfiguration) Get() (v RuleConfiguration, ok bool) + func (o OptRuleConfiguration) IsSet() bool + func (o OptRuleConfiguration) Or(d RuleConfiguration) RuleConfiguration + func (s *OptRuleConfiguration) UnmarshalJSON(data []byte) error + func (s OptRuleConfiguration) 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 Parameter struct + Key OptString + Value OptParameterValue + func (a Parameter) Equal(b Parameter, depth int) bool + func (a Parameter) Hash() uint64 + func (s *Parameter) Decode(d *jx.Decoder) error + func (s *Parameter) Encode(e *jx.Encoder) + func (s *Parameter) GetKey() OptString + func (s *Parameter) GetValue() OptParameterValue + func (s *Parameter) MarshalJSON() ([]byte, error) + func (s *Parameter) SetKey(val OptString) + func (s *Parameter) SetValue(val OptParameterValue) + func (s *Parameter) UnmarshalJSON(data []byte) error + func (s *Parameter) Validate() error + type ParameterGroup struct + GroupName OptString + Parameter OptParameter + func (a ParameterGroup) Equal(b ParameterGroup, depth int) bool + func (a ParameterGroup) Hash() uint64 + func (s *ParameterGroup) Decode(d *jx.Decoder) error + func (s *ParameterGroup) Encode(e *jx.Encoder) + func (s *ParameterGroup) GetGroupName() OptString + func (s *ParameterGroup) GetParameter() OptParameter + func (s *ParameterGroup) MarshalJSON() ([]byte, error) + func (s *ParameterGroup) SetGroupName(val OptString) + func (s *ParameterGroup) SetParameter(val OptParameter) + func (s *ParameterGroup) UnmarshalJSON(data []byte) error + func (s *ParameterGroup) Validate() error + type ParameterValue struct + BooleanValue OptBool + Metadata OptParameterValueMetadata + NumberValue OptFloat64 + StringValue OptString + func (a ParameterValue) Equal(b ParameterValue, depth int) bool + func (a ParameterValue) Hash() uint64 + func (s *ParameterValue) Decode(d *jx.Decoder) error + func (s *ParameterValue) Encode(e *jx.Encoder) + func (s *ParameterValue) GetBooleanValue() OptBool + func (s *ParameterValue) GetMetadata() OptParameterValueMetadata + func (s *ParameterValue) GetNumberValue() OptFloat64 + func (s *ParameterValue) GetStringValue() OptString + func (s *ParameterValue) MarshalJSON() ([]byte, error) + func (s *ParameterValue) SetBooleanValue(val OptBool) + func (s *ParameterValue) SetMetadata(val OptParameterValueMetadata) + func (s *ParameterValue) SetNumberValue(val OptFloat64) + func (s *ParameterValue) SetStringValue(val OptString) + func (s *ParameterValue) UnmarshalJSON(data []byte) error + func (s *ParameterValue) Validate() error + type ParameterValueMetadata map[string]string + func (s *ParameterValueMetadata) Decode(d *jx.Decoder) error + func (s *ParameterValueMetadata) UnmarshalJSON(data []byte) error + func (s ParameterValueMetadata) Encode(e *jx.Encoder) + func (s ParameterValueMetadata) MarshalJSON() ([]byte, error) + 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 RuleConfiguration struct + ParameterGroup OptParameterGroup + RuleKey OptString + func (a RuleConfiguration) Equal(b RuleConfiguration, depth int) bool + func (a RuleConfiguration) Hash() uint64 + func (s *RuleConfiguration) Decode(d *jx.Decoder) error + func (s *RuleConfiguration) Encode(e *jx.Encoder) + func (s *RuleConfiguration) GetParameterGroup() OptParameterGroup + func (s *RuleConfiguration) GetRuleKey() OptString + func (s *RuleConfiguration) MarshalJSON() ([]byte, error) + func (s *RuleConfiguration) SetParameterGroup(val OptParameterGroup) + func (s *RuleConfiguration) SetRuleKey(val OptString) + func (s *RuleConfiguration) UnmarshalJSON(data []byte) error + func (s *RuleConfiguration) Validate() error + 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 UnimplementedHandler struct + func (UnimplementedHandler) CreateWorkflowTransitions(ctx context.Context, req *CreateWorkflowTransitionsReq) (r *CreateWorkflowTransitionsOK, _ error) + type WorkflowTransition struct + Conditions OptConditionGroup + FromStatusId OptString + ID string + Name string + ToStatusId OptString + func (a WorkflowTransition) Equal(b WorkflowTransition, depth int) bool + func (a WorkflowTransition) Hash() uint64 + func (s *WorkflowTransition) Decode(d *jx.Decoder) error + func (s *WorkflowTransition) Encode(e *jx.Encoder) + func (s *WorkflowTransition) GetConditions() OptConditionGroup + func (s *WorkflowTransition) GetFromStatusId() OptString + func (s *WorkflowTransition) GetID() string + func (s *WorkflowTransition) GetName() string + func (s *WorkflowTransition) GetToStatusId() OptString + func (s *WorkflowTransition) MarshalJSON() ([]byte, error) + func (s *WorkflowTransition) SetConditions(val OptConditionGroup) + func (s *WorkflowTransition) SetFromStatusId(val OptString) + func (s *WorkflowTransition) SetID(val string) + func (s *WorkflowTransition) SetName(val string) + func (s *WorkflowTransition) SetToStatusId(val OptString) + func (s *WorkflowTransition) UnmarshalJSON(data []byte) error + func (s *WorkflowTransition) Validate() error