Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Set = wire.NewSet( NewLINEBot, NewScreenshot, NewStorage, NewTime, NewOtel, NewAccessLog, NewServiceEndpoint, NewSentry, )
Set provides a wire set.
Functions ¶
This section is empty.
Types ¶
type AccessLog ¶ added in v1.4.0
type AccessLog struct { Topic string `split_words:"true"` TrustedProxies int `split_words:"true" default:"0"` }
func NewAccessLog ¶ added in v1.4.0
type ConversationIDs ¶
type ConversationIDs struct {
// contains filtered or unexported fields
}
ConversationIDs implements repository.ConversationIDs.
func (*ConversationIDs) Available ¶
func (c *ConversationIDs) Available(conversationID model.ConversationID) bool
func (*ConversationIDs) List ¶
func (c *ConversationIDs) List() []model.ConversationID
type LINEBot ¶
type LINEBot struct { LINEChannelSecret string `split_words:"true" required:"true"` LINEChannelAccessToken string `split_words:"true" required:"true"` AllowConvIDs []string `split_words:"true"` Port int `split_words:"true" default:"8000"` CloudTasksLocation string `split_words:"true" required:"true"` CloudTasksQueue string `split_words:"true" required:"true"` InvokerServiceAccountID string `split_words:"true" required:"true"` InvokerServiceAccountEmail string `split_words:"true" required:"true"` }
func NewLINEBot ¶
func (*LINEBot) ConversationIDs ¶
func (c *LINEBot) ConversationIDs() *ConversationIDs
type Screenshot ¶
type Screenshot struct { TargetURL string `split_words:"true" required:"true"` TargetSelector string `split_words:"true" required:"true"` BrowserTimeout time.Duration `split_words:"true" default:"60s"` }
func NewScreenshot ¶
func NewScreenshot() (*Screenshot, error)
type Sentry ¶ added in v1.4.19
type ServiceEndpoint ¶ added in v1.4.9
type ServiceEndpoint struct { ServiceEndpoint string `split_words:"true"` // contains filtered or unexported fields }
func NewServiceEndpoint ¶ added in v1.4.9
func NewServiceEndpoint() (*ServiceEndpoint, error)
func (*ServiceEndpoint) ResolveServiceEndpoint ¶ added in v1.4.9
func (c *ServiceEndpoint) ResolveServiceEndpoint(path string) (*url.URL, error)
func (*ServiceEndpoint) Valid ¶ added in v1.4.10
func (c *ServiceEndpoint) Valid() bool
type Storage ¶
type Storage struct {
ImageBucket string `split_words:"true" required:"true"`
}
func NewStorage ¶
Click to show internal directories.
Click to hide internal directories.