Documentation
¶
Index ¶
- Constants
- Variables
- func LifecycleDatlyType() reflect.Type
- func WriterDatlyType() reflect.Type
- func WriterHandlerCurrentWriterIndexByCreatedAtKey(value *CurrentWriterView) (time.Time, bool)
- func WriterHandlerCurrentWriterIndexByDefaultAgentRefKey(value *CurrentWriterView) (string, bool)
- func WriterHandlerCurrentWriterIndexByDefaultEmbedderRefKey(value *CurrentWriterView) (string, bool)
- func WriterHandlerCurrentWriterIndexByDefaultModelRefKey(value *CurrentWriterView) (string, bool)
- func WriterHandlerCurrentWriterIndexByDisabledKey(value *CurrentWriterView) (int, bool)
- func WriterHandlerCurrentWriterIndexByDisplayNameKey(value *CurrentWriterView) (string, bool)
- func WriterHandlerCurrentWriterIndexByEmailKey(value *CurrentWriterView) (string, bool)
- func WriterHandlerCurrentWriterIndexByHashIpKey(value *CurrentWriterView) (string, bool)
- func WriterHandlerCurrentWriterIndexByIdKey(value *CurrentWriterView) (string, bool)
- func WriterHandlerCurrentWriterIndexByProviderKey(value *CurrentWriterView) (string, bool)
- func WriterHandlerCurrentWriterIndexBySettingsKey(value *CurrentWriterView) (string, bool)
- func WriterHandlerCurrentWriterIndexBySubjectKey(value *CurrentWriterView) (string, bool)
- func WriterHandlerCurrentWriterIndexByTimezoneKey(value *CurrentWriterView) (string, bool)
- func WriterHandlerCurrentWriterIndexByUpdatedAtKey(value *CurrentWriterView) (time.Time, bool)
- func WriterHandlerCurrentWriterIndexByUsernameKey(value *CurrentWriterView) (string, bool)
- type CurrentWriterView
- type Input
- func (input *Input) PrepareReadIndexes(ctx context.Context) error
- func (input *Input) ReadIndexes(ctx context.Context) (*WriterHandlerReadIndexes, error)
- func (input *Input) SetCurrentWriter(value []*CurrentWriterView)
- func (input *Input) SetUsers(value []*User)
- func (input *Input) SetWriterKeys(value []WriterKeysRow)
- type InputHas
- type Lifecycle
- func (hooks *Lifecycle) AfterQueue(ctx context.Context, entity *User, ...) error
- func (hooks *Lifecycle) AfterSequence(ctx context.Context, entity *User, ...) error
- func (hooks *Lifecycle) Finalize(ctx context.Context, input *Input, output *Output, outcome xhandler.Outcome) error
- func (hooks *Lifecycle) Init(ctx context.Context, entity *User, ...) error
- func (hooks *Lifecycle) Validate(ctx context.Context, entity *User, ...) error
- type Output
- type User
- func (entity *User) GetCreatedAt() *time.Time
- func (entity *User) GetDefaultAgentRef() *string
- func (entity *User) GetDefaultEmbedderRef() *string
- func (entity *User) GetDefaultModelRef() *string
- func (entity *User) GetDisabled() *int
- func (entity *User) GetDisplayName() *string
- func (entity *User) GetEmail() *string
- func (entity *User) GetHashIp() *string
- func (entity *User) GetId() string
- func (entity *User) GetProvider() string
- func (entity *User) GetSettings() *string
- func (entity *User) GetSubject() *string
- func (entity *User) GetTimezone() string
- func (entity *User) GetUpdatedAt() *time.Time
- func (entity *User) GetUsername() string
- func (entity *User) SetCreatedAt(value *time.Time)
- func (entity *User) SetDefaultAgentRef(value *string)
- func (entity *User) SetDefaultEmbedderRef(value *string)
- func (entity *User) SetDefaultModelRef(value *string)
- func (entity *User) SetDisabled(value *int)
- func (entity *User) SetDisplayName(value *string)
- func (entity *User) SetEmail(value *string)
- func (entity *User) SetHashIp(value *string)
- func (entity *User) SetId(value string)
- func (entity *User) SetProvider(value string)
- func (entity *User) SetSettings(value *string)
- func (entity *User) SetSubject(value *string)
- func (entity *User) SetTimezone(value string)
- func (entity *User) SetUpdatedAt(value *time.Time)
- func (entity *User) SetUsername(value string)
- type UserHas
- type WriterComponent
- type WriterHandlerCurrentWriterGroupedByCreatedAt
- type WriterHandlerCurrentWriterGroupedByDefaultAgentRef
- type WriterHandlerCurrentWriterGroupedByDefaultEmbedderRef
- type WriterHandlerCurrentWriterGroupedByDefaultModelRef
- type WriterHandlerCurrentWriterGroupedByDisabled
- type WriterHandlerCurrentWriterGroupedByDisplayName
- type WriterHandlerCurrentWriterGroupedByEmail
- type WriterHandlerCurrentWriterGroupedByHashIp
- type WriterHandlerCurrentWriterGroupedById
- type WriterHandlerCurrentWriterGroupedByProvider
- type WriterHandlerCurrentWriterGroupedBySettings
- type WriterHandlerCurrentWriterGroupedBySubject
- type WriterHandlerCurrentWriterGroupedByTimezone
- type WriterHandlerCurrentWriterGroupedByUpdatedAt
- type WriterHandlerCurrentWriterGroupedByUsername
- type WriterHandlerCurrentWriterIndexedByCreatedAt
- type WriterHandlerCurrentWriterIndexedByDefaultAgentRef
- type WriterHandlerCurrentWriterIndexedByDefaultEmbedderRef
- type WriterHandlerCurrentWriterIndexedByDefaultModelRef
- type WriterHandlerCurrentWriterIndexedByDisabled
- type WriterHandlerCurrentWriterIndexedByDisplayName
- type WriterHandlerCurrentWriterIndexedByEmail
- type WriterHandlerCurrentWriterIndexedByHashIp
- type WriterHandlerCurrentWriterIndexedById
- type WriterHandlerCurrentWriterIndexedByProvider
- type WriterHandlerCurrentWriterIndexedBySettings
- type WriterHandlerCurrentWriterIndexedBySubject
- type WriterHandlerCurrentWriterIndexedByTimezone
- type WriterHandlerCurrentWriterIndexedByUpdatedAt
- type WriterHandlerCurrentWriterIndexedByUsername
- type WriterHandlerCurrentWriterSlice
- func (rows WriterHandlerCurrentWriterSlice) GroupByCreatedAt() WriterHandlerCurrentWriterGroupedByCreatedAt
- func (rows WriterHandlerCurrentWriterSlice) GroupByDefaultAgentRef() WriterHandlerCurrentWriterGroupedByDefaultAgentRef
- func (rows WriterHandlerCurrentWriterSlice) GroupByDefaultEmbedderRef() WriterHandlerCurrentWriterGroupedByDefaultEmbedderRef
- func (rows WriterHandlerCurrentWriterSlice) GroupByDefaultModelRef() WriterHandlerCurrentWriterGroupedByDefaultModelRef
- func (rows WriterHandlerCurrentWriterSlice) GroupByDisabled() WriterHandlerCurrentWriterGroupedByDisabled
- func (rows WriterHandlerCurrentWriterSlice) GroupByDisplayName() WriterHandlerCurrentWriterGroupedByDisplayName
- func (rows WriterHandlerCurrentWriterSlice) GroupByEmail() WriterHandlerCurrentWriterGroupedByEmail
- func (rows WriterHandlerCurrentWriterSlice) GroupByHashIp() WriterHandlerCurrentWriterGroupedByHashIp
- func (rows WriterHandlerCurrentWriterSlice) GroupById() WriterHandlerCurrentWriterGroupedById
- func (rows WriterHandlerCurrentWriterSlice) GroupByProvider() WriterHandlerCurrentWriterGroupedByProvider
- func (rows WriterHandlerCurrentWriterSlice) GroupBySettings() WriterHandlerCurrentWriterGroupedBySettings
- func (rows WriterHandlerCurrentWriterSlice) GroupBySubject() WriterHandlerCurrentWriterGroupedBySubject
- func (rows WriterHandlerCurrentWriterSlice) GroupByTimezone() WriterHandlerCurrentWriterGroupedByTimezone
- func (rows WriterHandlerCurrentWriterSlice) GroupByUpdatedAt() WriterHandlerCurrentWriterGroupedByUpdatedAt
- func (rows WriterHandlerCurrentWriterSlice) GroupByUsername() WriterHandlerCurrentWriterGroupedByUsername
- func (rows WriterHandlerCurrentWriterSlice) IndexByCreatedAt() (WriterHandlerCurrentWriterIndexedByCreatedAt, error)
- func (rows WriterHandlerCurrentWriterSlice) IndexByDefaultAgentRef() (WriterHandlerCurrentWriterIndexedByDefaultAgentRef, error)
- func (rows WriterHandlerCurrentWriterSlice) IndexByDefaultEmbedderRef() (WriterHandlerCurrentWriterIndexedByDefaultEmbedderRef, error)
- func (rows WriterHandlerCurrentWriterSlice) IndexByDefaultModelRef() (WriterHandlerCurrentWriterIndexedByDefaultModelRef, error)
- func (rows WriterHandlerCurrentWriterSlice) IndexByDisabled() (WriterHandlerCurrentWriterIndexedByDisabled, error)
- func (rows WriterHandlerCurrentWriterSlice) IndexByDisplayName() (WriterHandlerCurrentWriterIndexedByDisplayName, error)
- func (rows WriterHandlerCurrentWriterSlice) IndexByEmail() (WriterHandlerCurrentWriterIndexedByEmail, error)
- func (rows WriterHandlerCurrentWriterSlice) IndexByHashIp() (WriterHandlerCurrentWriterIndexedByHashIp, error)
- func (rows WriterHandlerCurrentWriterSlice) IndexById() (WriterHandlerCurrentWriterIndexedById, error)
- func (rows WriterHandlerCurrentWriterSlice) IndexByProvider() (WriterHandlerCurrentWriterIndexedByProvider, error)
- func (rows WriterHandlerCurrentWriterSlice) IndexBySettings() (WriterHandlerCurrentWriterIndexedBySettings, error)
- func (rows WriterHandlerCurrentWriterSlice) IndexBySubject() (WriterHandlerCurrentWriterIndexedBySubject, error)
- func (rows WriterHandlerCurrentWriterSlice) IndexByTimezone() (WriterHandlerCurrentWriterIndexedByTimezone, error)
- func (rows WriterHandlerCurrentWriterSlice) IndexByUpdatedAt() (WriterHandlerCurrentWriterIndexedByUpdatedAt, error)
- func (rows WriterHandlerCurrentWriterSlice) IndexByUsername() (WriterHandlerCurrentWriterIndexedByUsername, error)
- type WriterHandlerReadIndexes
- type WriterKeysRow
Constants ¶
View Source
const WriterDatlyResourceNamespace = "datly_user_write_writer"
DatlyResourceNamespace identifies this package's generated resource filesystem.
Variables ¶
View Source
var ( LifecycleHooks = new(Lifecycle) LifecycleDatly = LifecycleDatlyType() )
View Source
var WriterDatly = new(WriterComponent)
The public value supports explicit component wiring.
View Source
var WriterDatlyResources embed.FS
Functions ¶
func LifecycleDatlyType ¶
func WriterDatlyType ¶
WriterDatlyType returns the public component type.
func WriterHandlerCurrentWriterIndexByCreatedAtKey ¶
func WriterHandlerCurrentWriterIndexByCreatedAtKey(value *CurrentWriterView) (time.Time, bool)
func WriterHandlerCurrentWriterIndexByDefaultAgentRefKey ¶
func WriterHandlerCurrentWriterIndexByDefaultAgentRefKey(value *CurrentWriterView) (string, bool)
func WriterHandlerCurrentWriterIndexByDefaultEmbedderRefKey ¶
func WriterHandlerCurrentWriterIndexByDefaultEmbedderRefKey(value *CurrentWriterView) (string, bool)
func WriterHandlerCurrentWriterIndexByDefaultModelRefKey ¶
func WriterHandlerCurrentWriterIndexByDefaultModelRefKey(value *CurrentWriterView) (string, bool)
func WriterHandlerCurrentWriterIndexByDisabledKey ¶
func WriterHandlerCurrentWriterIndexByDisabledKey(value *CurrentWriterView) (int, bool)
func WriterHandlerCurrentWriterIndexByDisplayNameKey ¶
func WriterHandlerCurrentWriterIndexByDisplayNameKey(value *CurrentWriterView) (string, bool)
func WriterHandlerCurrentWriterIndexByEmailKey ¶
func WriterHandlerCurrentWriterIndexByEmailKey(value *CurrentWriterView) (string, bool)
func WriterHandlerCurrentWriterIndexByHashIpKey ¶
func WriterHandlerCurrentWriterIndexByHashIpKey(value *CurrentWriterView) (string, bool)
func WriterHandlerCurrentWriterIndexByIdKey ¶
func WriterHandlerCurrentWriterIndexByIdKey(value *CurrentWriterView) (string, bool)
func WriterHandlerCurrentWriterIndexByProviderKey ¶
func WriterHandlerCurrentWriterIndexByProviderKey(value *CurrentWriterView) (string, bool)
func WriterHandlerCurrentWriterIndexBySettingsKey ¶
func WriterHandlerCurrentWriterIndexBySettingsKey(value *CurrentWriterView) (string, bool)
func WriterHandlerCurrentWriterIndexBySubjectKey ¶
func WriterHandlerCurrentWriterIndexBySubjectKey(value *CurrentWriterView) (string, bool)
func WriterHandlerCurrentWriterIndexByTimezoneKey ¶
func WriterHandlerCurrentWriterIndexByTimezoneKey(value *CurrentWriterView) (string, bool)
func WriterHandlerCurrentWriterIndexByUpdatedAtKey ¶
func WriterHandlerCurrentWriterIndexByUpdatedAtKey(value *CurrentWriterView) (time.Time, bool)
func WriterHandlerCurrentWriterIndexByUsernameKey ¶
func WriterHandlerCurrentWriterIndexByUsernameKey(value *CurrentWriterView) (string, bool)
Types ¶
type CurrentWriterView ¶
type CurrentWriterView struct {
Id string `validate:"required" sqlx:"id,primaryKey" json:"id"`
Username string `validate:"required" json:"username" sqlx:"username,required=true"`
Provider string `validate:"required" json:"provider" sqlx:"provider,required=true"`
HashIp *string `json:"-" sqlx:"hash_ip"`
Timezone string `validate:"required" json:"timezone" sqlx:"timezone,required=true"`
DisplayName *string `sqlx:"display_name" json:"displayName,omitempty"`
Email *string `sqlx:"email" json:"email,omitempty"`
Subject *string `sqlx:"subject" json:"subject,omitempty"`
DefaultAgentRef *string `sqlx:"default_agent_ref" json:"defaultAgentRef,omitempty"`
DefaultModelRef *string `sqlx:"default_model_ref" json:"defaultModelRef,omitempty"`
DefaultEmbedderRef *string `sqlx:"default_embedder_ref" json:"defaultEmbedderRef,omitempty"`
Settings *string `sqlx:"settings" json:"settings,omitempty"`
Disabled *int `sqlx:"disabled,required=true" json:"disabled,omitempty"`
CreatedAt *time.Time `sqlx:"created_at,required=true" json:"createdAt,omitempty"`
UpdatedAt *time.Time `sqlx:"updated_at" json:"updatedAt,omitempty"`
}
CurrentWriterView is generated canonical view metadata for writer.
type Input ¶
type Input struct {
Users []*User `` /* 159-byte string literal not displayed */
WriterKeys []WriterKeysRow `` /* 126-byte string literal not displayed */
CurrentWriter []*CurrentWriterView `` /* 159-byte string literal not displayed */
Has *InputHas `setMarker:"true" typeName:"InputHas" json:"-" sqlx:"-"`
// contains filtered or unexported fields
}
Input is the generated input scaffold for writer.
func (*Input) PrepareReadIndexes ¶
func (*Input) ReadIndexes ¶
func (input *Input) ReadIndexes(ctx context.Context) (*WriterHandlerReadIndexes, error)
func (*Input) SetCurrentWriter ¶
func (input *Input) SetCurrentWriter(value []*CurrentWriterView)
func (*Input) SetWriterKeys ¶
func (input *Input) SetWriterKeys(value []WriterKeysRow)
type Lifecycle ¶
type Lifecycle struct{}
Lifecycle customizes role Input.Users.
func (*Lifecycle) AfterQueue ¶
func (*Lifecycle) AfterSequence ¶
type Output ¶
type Output struct {
Data []*User `parameter:"Data,kind=output,in=body,dataType=[]*User" json:"data,omitempty"`
}
Output is the generated output scaffold for writer.
type User ¶
type User struct {
Id string `validate:"required" sqlx:"id,primaryKey" json:"id"`
Username string `validate:"required" json:"username" sqlx:"username,required=true"`
Provider string `validate:"required" json:"provider" sqlx:"provider,required=true"`
HashIp *string `json:"-" sqlx:"hash_ip"`
Timezone string `validate:"required" json:"timezone" sqlx:"timezone,required=true"`
DisplayName *string `sqlx:"display_name" json:"displayName,omitempty"`
Email *string `sqlx:"email" json:"email,omitempty"`
Subject *string `sqlx:"subject" json:"subject,omitempty"`
DefaultAgentRef *string `sqlx:"default_agent_ref" json:"defaultAgentRef,omitempty"`
DefaultModelRef *string `sqlx:"default_model_ref" json:"defaultModelRef,omitempty"`
DefaultEmbedderRef *string `sqlx:"default_embedder_ref" json:"defaultEmbedderRef,omitempty"`
Settings *string `sqlx:"settings" json:"settings,omitempty"`
Disabled *int `sqlx:"disabled,required=true" json:"disabled,omitempty"`
CreatedAt *time.Time `sqlx:"created_at,required=true" json:"createdAt,omitempty"`
UpdatedAt *time.Time `sqlx:"updated_at" json:"updatedAt,omitempty"`
Has *UserHas `setMarker:"true" format:"-" sqlx:"-" diff:"-" json:"-" typeName:"UserHas"`
}
User is generated canonical view metadata for writer.
func (*User) GetCreatedAt ¶
func (*User) GetDefaultAgentRef ¶
func (*User) GetDefaultEmbedderRef ¶
func (*User) GetDefaultModelRef ¶
func (*User) GetDisabled ¶
func (*User) GetDisplayName ¶
func (*User) GetProvider ¶
func (*User) GetSettings ¶
func (*User) GetSubject ¶
func (*User) GetTimezone ¶
func (*User) GetUpdatedAt ¶
func (*User) GetUsername ¶
func (*User) SetCreatedAt ¶
func (*User) SetDefaultAgentRef ¶
func (*User) SetDefaultEmbedderRef ¶
func (*User) SetDefaultModelRef ¶
func (*User) SetDisabled ¶
func (*User) SetDisplayName ¶
func (*User) SetProvider ¶
func (*User) SetSettings ¶
func (*User) SetSubject ¶
func (*User) SetTimezone ¶
func (*User) SetUpdatedAt ¶
func (*User) SetUsername ¶
type WriterComponent ¶
type WriterComponent struct {
Contract xdatly.Component[Input, Output] "" /* 161-byte string literal not displayed */
}
Component is the generated component scaffold for writer.
func (WriterComponent) EmbedFS ¶
func (WriterComponent) EmbedFS() *embed.FS
func (WriterComponent) EmbedNamespace ¶
func (WriterComponent) EmbedNamespace() string
type WriterHandlerCurrentWriterGroupedByCreatedAt ¶
type WriterHandlerCurrentWriterGroupedByCreatedAt map[time.Time][]*CurrentWriterView
type WriterHandlerCurrentWriterGroupedByDefaultAgentRef ¶
type WriterHandlerCurrentWriterGroupedByDefaultAgentRef map[string][]*CurrentWriterView
func (WriterHandlerCurrentWriterGroupedByDefaultAgentRef) Has ¶
func (index WriterHandlerCurrentWriterGroupedByDefaultAgentRef) Has(key string) bool
type WriterHandlerCurrentWriterGroupedByDefaultEmbedderRef ¶
type WriterHandlerCurrentWriterGroupedByDefaultEmbedderRef map[string][]*CurrentWriterView
func (WriterHandlerCurrentWriterGroupedByDefaultEmbedderRef) Has ¶
func (index WriterHandlerCurrentWriterGroupedByDefaultEmbedderRef) Has(key string) bool
type WriterHandlerCurrentWriterGroupedByDefaultModelRef ¶
type WriterHandlerCurrentWriterGroupedByDefaultModelRef map[string][]*CurrentWriterView
func (WriterHandlerCurrentWriterGroupedByDefaultModelRef) Has ¶
func (index WriterHandlerCurrentWriterGroupedByDefaultModelRef) Has(key string) bool
type WriterHandlerCurrentWriterGroupedByDisabled ¶
type WriterHandlerCurrentWriterGroupedByDisabled map[int][]*CurrentWriterView
func (WriterHandlerCurrentWriterGroupedByDisabled) Has ¶
func (index WriterHandlerCurrentWriterGroupedByDisabled) Has(key int) bool
type WriterHandlerCurrentWriterGroupedByDisplayName ¶
type WriterHandlerCurrentWriterGroupedByDisplayName map[string][]*CurrentWriterView
func (WriterHandlerCurrentWriterGroupedByDisplayName) Has ¶
func (index WriterHandlerCurrentWriterGroupedByDisplayName) Has(key string) bool
type WriterHandlerCurrentWriterGroupedByEmail ¶
type WriterHandlerCurrentWriterGroupedByEmail map[string][]*CurrentWriterView
func (WriterHandlerCurrentWriterGroupedByEmail) Has ¶
func (index WriterHandlerCurrentWriterGroupedByEmail) Has(key string) bool
type WriterHandlerCurrentWriterGroupedByHashIp ¶
type WriterHandlerCurrentWriterGroupedByHashIp map[string][]*CurrentWriterView
func (WriterHandlerCurrentWriterGroupedByHashIp) Has ¶
func (index WriterHandlerCurrentWriterGroupedByHashIp) Has(key string) bool
type WriterHandlerCurrentWriterGroupedById ¶
type WriterHandlerCurrentWriterGroupedById map[string][]*CurrentWriterView
func (WriterHandlerCurrentWriterGroupedById) Has ¶
func (index WriterHandlerCurrentWriterGroupedById) Has(key string) bool
type WriterHandlerCurrentWriterGroupedByProvider ¶
type WriterHandlerCurrentWriterGroupedByProvider map[string][]*CurrentWriterView
func (WriterHandlerCurrentWriterGroupedByProvider) Has ¶
func (index WriterHandlerCurrentWriterGroupedByProvider) Has(key string) bool
type WriterHandlerCurrentWriterGroupedBySettings ¶
type WriterHandlerCurrentWriterGroupedBySettings map[string][]*CurrentWriterView
func (WriterHandlerCurrentWriterGroupedBySettings) Has ¶
func (index WriterHandlerCurrentWriterGroupedBySettings) Has(key string) bool
type WriterHandlerCurrentWriterGroupedBySubject ¶
type WriterHandlerCurrentWriterGroupedBySubject map[string][]*CurrentWriterView
func (WriterHandlerCurrentWriterGroupedBySubject) Has ¶
func (index WriterHandlerCurrentWriterGroupedBySubject) Has(key string) bool
type WriterHandlerCurrentWriterGroupedByTimezone ¶
type WriterHandlerCurrentWriterGroupedByTimezone map[string][]*CurrentWriterView
func (WriterHandlerCurrentWriterGroupedByTimezone) Has ¶
func (index WriterHandlerCurrentWriterGroupedByTimezone) Has(key string) bool
type WriterHandlerCurrentWriterGroupedByUpdatedAt ¶
type WriterHandlerCurrentWriterGroupedByUpdatedAt map[time.Time][]*CurrentWriterView
type WriterHandlerCurrentWriterGroupedByUsername ¶
type WriterHandlerCurrentWriterGroupedByUsername map[string][]*CurrentWriterView
func (WriterHandlerCurrentWriterGroupedByUsername) Has ¶
func (index WriterHandlerCurrentWriterGroupedByUsername) Has(key string) bool
type WriterHandlerCurrentWriterIndexedByCreatedAt ¶
type WriterHandlerCurrentWriterIndexedByCreatedAt map[time.Time]*CurrentWriterView
type WriterHandlerCurrentWriterIndexedByDefaultAgentRef ¶
type WriterHandlerCurrentWriterIndexedByDefaultAgentRef map[string]*CurrentWriterView
func (WriterHandlerCurrentWriterIndexedByDefaultAgentRef) Has ¶
func (index WriterHandlerCurrentWriterIndexedByDefaultAgentRef) Has(key string) bool
type WriterHandlerCurrentWriterIndexedByDefaultEmbedderRef ¶
type WriterHandlerCurrentWriterIndexedByDefaultEmbedderRef map[string]*CurrentWriterView
func (WriterHandlerCurrentWriterIndexedByDefaultEmbedderRef) Has ¶
func (index WriterHandlerCurrentWriterIndexedByDefaultEmbedderRef) Has(key string) bool
type WriterHandlerCurrentWriterIndexedByDefaultModelRef ¶
type WriterHandlerCurrentWriterIndexedByDefaultModelRef map[string]*CurrentWriterView
func (WriterHandlerCurrentWriterIndexedByDefaultModelRef) Has ¶
func (index WriterHandlerCurrentWriterIndexedByDefaultModelRef) Has(key string) bool
type WriterHandlerCurrentWriterIndexedByDisabled ¶
type WriterHandlerCurrentWriterIndexedByDisabled map[int]*CurrentWriterView
func (WriterHandlerCurrentWriterIndexedByDisabled) Has ¶
func (index WriterHandlerCurrentWriterIndexedByDisabled) Has(key int) bool
type WriterHandlerCurrentWriterIndexedByDisplayName ¶
type WriterHandlerCurrentWriterIndexedByDisplayName map[string]*CurrentWriterView
func (WriterHandlerCurrentWriterIndexedByDisplayName) Has ¶
func (index WriterHandlerCurrentWriterIndexedByDisplayName) Has(key string) bool
type WriterHandlerCurrentWriterIndexedByEmail ¶
type WriterHandlerCurrentWriterIndexedByEmail map[string]*CurrentWriterView
func (WriterHandlerCurrentWriterIndexedByEmail) Has ¶
func (index WriterHandlerCurrentWriterIndexedByEmail) Has(key string) bool
type WriterHandlerCurrentWriterIndexedByHashIp ¶
type WriterHandlerCurrentWriterIndexedByHashIp map[string]*CurrentWriterView
func (WriterHandlerCurrentWriterIndexedByHashIp) Has ¶
func (index WriterHandlerCurrentWriterIndexedByHashIp) Has(key string) bool
type WriterHandlerCurrentWriterIndexedById ¶
type WriterHandlerCurrentWriterIndexedById map[string]*CurrentWriterView
func (WriterHandlerCurrentWriterIndexedById) Has ¶
func (index WriterHandlerCurrentWriterIndexedById) Has(key string) bool
type WriterHandlerCurrentWriterIndexedByProvider ¶
type WriterHandlerCurrentWriterIndexedByProvider map[string]*CurrentWriterView
func (WriterHandlerCurrentWriterIndexedByProvider) Has ¶
func (index WriterHandlerCurrentWriterIndexedByProvider) Has(key string) bool
type WriterHandlerCurrentWriterIndexedBySettings ¶
type WriterHandlerCurrentWriterIndexedBySettings map[string]*CurrentWriterView
func (WriterHandlerCurrentWriterIndexedBySettings) Has ¶
func (index WriterHandlerCurrentWriterIndexedBySettings) Has(key string) bool
type WriterHandlerCurrentWriterIndexedBySubject ¶
type WriterHandlerCurrentWriterIndexedBySubject map[string]*CurrentWriterView
func (WriterHandlerCurrentWriterIndexedBySubject) Has ¶
func (index WriterHandlerCurrentWriterIndexedBySubject) Has(key string) bool
type WriterHandlerCurrentWriterIndexedByTimezone ¶
type WriterHandlerCurrentWriterIndexedByTimezone map[string]*CurrentWriterView
func (WriterHandlerCurrentWriterIndexedByTimezone) Has ¶
func (index WriterHandlerCurrentWriterIndexedByTimezone) Has(key string) bool
type WriterHandlerCurrentWriterIndexedByUpdatedAt ¶
type WriterHandlerCurrentWriterIndexedByUpdatedAt map[time.Time]*CurrentWriterView
type WriterHandlerCurrentWriterIndexedByUsername ¶
type WriterHandlerCurrentWriterIndexedByUsername map[string]*CurrentWriterView
func (WriterHandlerCurrentWriterIndexedByUsername) Has ¶
func (index WriterHandlerCurrentWriterIndexedByUsername) Has(key string) bool
type WriterHandlerCurrentWriterSlice ¶
type WriterHandlerCurrentWriterSlice []*CurrentWriterView
func (WriterHandlerCurrentWriterSlice) GroupByCreatedAt ¶
func (rows WriterHandlerCurrentWriterSlice) GroupByCreatedAt() WriterHandlerCurrentWriterGroupedByCreatedAt
func (WriterHandlerCurrentWriterSlice) GroupByDefaultAgentRef ¶
func (rows WriterHandlerCurrentWriterSlice) GroupByDefaultAgentRef() WriterHandlerCurrentWriterGroupedByDefaultAgentRef
func (WriterHandlerCurrentWriterSlice) GroupByDefaultEmbedderRef ¶
func (rows WriterHandlerCurrentWriterSlice) GroupByDefaultEmbedderRef() WriterHandlerCurrentWriterGroupedByDefaultEmbedderRef
func (WriterHandlerCurrentWriterSlice) GroupByDefaultModelRef ¶
func (rows WriterHandlerCurrentWriterSlice) GroupByDefaultModelRef() WriterHandlerCurrentWriterGroupedByDefaultModelRef
func (WriterHandlerCurrentWriterSlice) GroupByDisabled ¶
func (rows WriterHandlerCurrentWriterSlice) GroupByDisabled() WriterHandlerCurrentWriterGroupedByDisabled
func (WriterHandlerCurrentWriterSlice) GroupByDisplayName ¶
func (rows WriterHandlerCurrentWriterSlice) GroupByDisplayName() WriterHandlerCurrentWriterGroupedByDisplayName
func (WriterHandlerCurrentWriterSlice) GroupByEmail ¶
func (rows WriterHandlerCurrentWriterSlice) GroupByEmail() WriterHandlerCurrentWriterGroupedByEmail
func (WriterHandlerCurrentWriterSlice) GroupByHashIp ¶
func (rows WriterHandlerCurrentWriterSlice) GroupByHashIp() WriterHandlerCurrentWriterGroupedByHashIp
func (WriterHandlerCurrentWriterSlice) GroupById ¶
func (rows WriterHandlerCurrentWriterSlice) GroupById() WriterHandlerCurrentWriterGroupedById
func (WriterHandlerCurrentWriterSlice) GroupByProvider ¶
func (rows WriterHandlerCurrentWriterSlice) GroupByProvider() WriterHandlerCurrentWriterGroupedByProvider
func (WriterHandlerCurrentWriterSlice) GroupBySettings ¶
func (rows WriterHandlerCurrentWriterSlice) GroupBySettings() WriterHandlerCurrentWriterGroupedBySettings
func (WriterHandlerCurrentWriterSlice) GroupBySubject ¶
func (rows WriterHandlerCurrentWriterSlice) GroupBySubject() WriterHandlerCurrentWriterGroupedBySubject
func (WriterHandlerCurrentWriterSlice) GroupByTimezone ¶
func (rows WriterHandlerCurrentWriterSlice) GroupByTimezone() WriterHandlerCurrentWriterGroupedByTimezone
func (WriterHandlerCurrentWriterSlice) GroupByUpdatedAt ¶
func (rows WriterHandlerCurrentWriterSlice) GroupByUpdatedAt() WriterHandlerCurrentWriterGroupedByUpdatedAt
func (WriterHandlerCurrentWriterSlice) GroupByUsername ¶
func (rows WriterHandlerCurrentWriterSlice) GroupByUsername() WriterHandlerCurrentWriterGroupedByUsername
func (WriterHandlerCurrentWriterSlice) IndexByCreatedAt ¶
func (rows WriterHandlerCurrentWriterSlice) IndexByCreatedAt() (WriterHandlerCurrentWriterIndexedByCreatedAt, error)
func (WriterHandlerCurrentWriterSlice) IndexByDefaultAgentRef ¶
func (rows WriterHandlerCurrentWriterSlice) IndexByDefaultAgentRef() (WriterHandlerCurrentWriterIndexedByDefaultAgentRef, error)
func (WriterHandlerCurrentWriterSlice) IndexByDefaultEmbedderRef ¶
func (rows WriterHandlerCurrentWriterSlice) IndexByDefaultEmbedderRef() (WriterHandlerCurrentWriterIndexedByDefaultEmbedderRef, error)
func (WriterHandlerCurrentWriterSlice) IndexByDefaultModelRef ¶
func (rows WriterHandlerCurrentWriterSlice) IndexByDefaultModelRef() (WriterHandlerCurrentWriterIndexedByDefaultModelRef, error)
func (WriterHandlerCurrentWriterSlice) IndexByDisabled ¶
func (rows WriterHandlerCurrentWriterSlice) IndexByDisabled() (WriterHandlerCurrentWriterIndexedByDisabled, error)
func (WriterHandlerCurrentWriterSlice) IndexByDisplayName ¶
func (rows WriterHandlerCurrentWriterSlice) IndexByDisplayName() (WriterHandlerCurrentWriterIndexedByDisplayName, error)
func (WriterHandlerCurrentWriterSlice) IndexByEmail ¶
func (rows WriterHandlerCurrentWriterSlice) IndexByEmail() (WriterHandlerCurrentWriterIndexedByEmail, error)
func (WriterHandlerCurrentWriterSlice) IndexByHashIp ¶
func (rows WriterHandlerCurrentWriterSlice) IndexByHashIp() (WriterHandlerCurrentWriterIndexedByHashIp, error)
func (WriterHandlerCurrentWriterSlice) IndexById ¶
func (rows WriterHandlerCurrentWriterSlice) IndexById() (WriterHandlerCurrentWriterIndexedById, error)
func (WriterHandlerCurrentWriterSlice) IndexByProvider ¶
func (rows WriterHandlerCurrentWriterSlice) IndexByProvider() (WriterHandlerCurrentWriterIndexedByProvider, error)
func (WriterHandlerCurrentWriterSlice) IndexBySettings ¶
func (rows WriterHandlerCurrentWriterSlice) IndexBySettings() (WriterHandlerCurrentWriterIndexedBySettings, error)
func (WriterHandlerCurrentWriterSlice) IndexBySubject ¶
func (rows WriterHandlerCurrentWriterSlice) IndexBySubject() (WriterHandlerCurrentWriterIndexedBySubject, error)
func (WriterHandlerCurrentWriterSlice) IndexByTimezone ¶
func (rows WriterHandlerCurrentWriterSlice) IndexByTimezone() (WriterHandlerCurrentWriterIndexedByTimezone, error)
func (WriterHandlerCurrentWriterSlice) IndexByUpdatedAt ¶
func (rows WriterHandlerCurrentWriterSlice) IndexByUpdatedAt() (WriterHandlerCurrentWriterIndexedByUpdatedAt, error)
func (WriterHandlerCurrentWriterSlice) IndexByUsername ¶
func (rows WriterHandlerCurrentWriterSlice) IndexByUsername() (WriterHandlerCurrentWriterIndexedByUsername, error)
type WriterHandlerReadIndexes ¶
type WriterHandlerReadIndexes struct {
CurrentWriter WriterHandlerCurrentWriterSlice
CurrentWriterById WriterHandlerCurrentWriterIndexedById
}
func BuildWriterHandlerReadIndexes ¶
func BuildWriterHandlerReadIndexes(ctx context.Context, input *Input) (*WriterHandlerReadIndexes, error)
type WriterKeysRow ¶
type WriterKeysRow struct {
Id string `sqlx:"id"`
}
Click to show internal directories.
Click to hide internal directories.