Documentation
¶
Index ¶
Constants ¶
View Source
const ( Key = key("session") InputKey = inputKey("input") DataSyncKey = syncKey("dataSync") )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DataSync ¶
type DataSync struct {
// contains filtered or unexported fields
}
DataSync represents data sync
func NewDataSync ¶
func NewDataSync() *DataSync
type Option ¶
type Option func(o *Options)
func WithArguments ¶
WithArguments creates arguments option
func WithInputType ¶
WithInputType creates inputType option
func WithLookupType ¶
WithLookupType creates lookupType option
func WithOutputType ¶
WithOutputType creates outputType option
type Options ¶
type Session ¶
type Session interface {
Validator() *validator.Service
Differ() *differ.Service
MessageBus() *mbus.Service
Db(opts ...sqlx.Option) (*sqlx.Service, error)
Stater() *state.Service
FlushTemplate(ctx context.Context) error
Session(ctx context.Context, route *http.Route, opts ...state.Option) (Session, error)
Http() http.Http
Auth() auth.Auth
Logger() logger.Logger
}
Click to show internal directories.
Click to hide internal directories.