Documentation ¶
Index ¶
- type CheckFunc
- type Func
- type GPTDialogFunc
- type GitCommitFunc
- type LastChannelMessageFunc
- type OrganizationFunc
- type PRNotificationFunc
- type Query
- type RepositoryFunc
- type TelegramChannelStateFunc
- type TelegramSessionFunc
- type TelegramUserStateFunc
- type TraverseCheck
- type TraverseFunc
- type TraverseGPTDialog
- type TraverseGitCommit
- type TraverseLastChannelMessage
- type TraverseOrganization
- type TraversePRNotification
- type TraverseRepository
- type TraverseTelegramChannelState
- type TraverseTelegramSession
- type TraverseTelegramUserState
- type TraverseUser
- type UserFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CheckFunc ¶
The CheckFunc type is an adapter to allow the use of ordinary function as a Querier.
type Func ¶
The Func type is an adapter that allows ordinary functions to be used as interceptors. Unlike traversal functions, interceptors are skipped during graph traversals. Note that the implementation of Func is different from the one defined in entgo.io/ent.InterceptFunc.
type GPTDialogFunc ¶
The GPTDialogFunc type is an adapter to allow the use of ordinary function as a Querier.
type GitCommitFunc ¶
The GitCommitFunc type is an adapter to allow the use of ordinary function as a Querier.
type LastChannelMessageFunc ¶
The LastChannelMessageFunc type is an adapter to allow the use of ordinary function as a Querier.
type OrganizationFunc ¶
The OrganizationFunc type is an adapter to allow the use of ordinary function as a Querier.
type PRNotificationFunc ¶
The PRNotificationFunc type is an adapter to allow the use of ordinary function as a Querier.
type Query ¶
type Query interface { // Type returns the string representation of the query type. Type() string // Limit the number of records to be returned by this query. Limit(int) // Offset to start from. Offset(int) // Unique configures the query builder to filter duplicate records. Unique(bool) // Order specifies how the records should be ordered. Order(...func(*sql.Selector)) // WhereP appends storage-level predicates to the query builder. Using this method, users // can use type-assertion to append predicates that do not depend on any generated package. WhereP(...func(*sql.Selector)) }
The Query interface represents an operation that queries a graph. By using this interface, users can write generic code that manipulates query builders of different types.
type RepositoryFunc ¶
The RepositoryFunc type is an adapter to allow the use of ordinary function as a Querier.
type TelegramChannelStateFunc ¶
type TelegramChannelStateFunc func(context.Context, *ent.TelegramChannelStateQuery) (ent.Value, error)
The TelegramChannelStateFunc type is an adapter to allow the use of ordinary function as a Querier.
type TelegramSessionFunc ¶
The TelegramSessionFunc type is an adapter to allow the use of ordinary function as a Querier.
type TelegramUserStateFunc ¶
The TelegramUserStateFunc type is an adapter to allow the use of ordinary function as a Querier.
type TraverseCheck ¶
type TraverseCheck func(context.Context, *ent.CheckQuery) error
The TraverseCheck type is an adapter to allow the use of ordinary function as Traverser.
type TraverseFunc ¶
The TraverseFunc type is an adapter to allow the use of ordinary function as Traverser. If f is a function with the appropriate signature, TraverseFunc(f) is a Traverser that calls f.
type TraverseGPTDialog ¶
type TraverseGPTDialog func(context.Context, *ent.GPTDialogQuery) error
The TraverseGPTDialog type is an adapter to allow the use of ordinary function as Traverser.
type TraverseGitCommit ¶
type TraverseGitCommit func(context.Context, *ent.GitCommitQuery) error
The TraverseGitCommit type is an adapter to allow the use of ordinary function as Traverser.
type TraverseLastChannelMessage ¶
type TraverseLastChannelMessage func(context.Context, *ent.LastChannelMessageQuery) error
The TraverseLastChannelMessage type is an adapter to allow the use of ordinary function as Traverser.
type TraverseOrganization ¶
type TraverseOrganization func(context.Context, *ent.OrganizationQuery) error
The TraverseOrganization type is an adapter to allow the use of ordinary function as Traverser.
type TraversePRNotification ¶
type TraversePRNotification func(context.Context, *ent.PRNotificationQuery) error
The TraversePRNotification type is an adapter to allow the use of ordinary function as Traverser.
type TraverseRepository ¶
type TraverseRepository func(context.Context, *ent.RepositoryQuery) error
The TraverseRepository type is an adapter to allow the use of ordinary function as Traverser.
type TraverseTelegramChannelState ¶
type TraverseTelegramChannelState func(context.Context, *ent.TelegramChannelStateQuery) error
The TraverseTelegramChannelState type is an adapter to allow the use of ordinary function as Traverser.
type TraverseTelegramSession ¶
type TraverseTelegramSession func(context.Context, *ent.TelegramSessionQuery) error
The TraverseTelegramSession type is an adapter to allow the use of ordinary function as Traverser.
type TraverseTelegramUserState ¶
type TraverseTelegramUserState func(context.Context, *ent.TelegramUserStateQuery) error
The TraverseTelegramUserState type is an adapter to allow the use of ordinary function as Traverser.
type TraverseUser ¶
The TraverseUser type is an adapter to allow the use of ordinary function as Traverser.