config

package
v1.2.11 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 22, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Set provides a wire set.

Functions

This section is empty.

Types

type Config

type Config struct {
	// contains filtered or unexported fields
}

Config implements repository.Config.

func NewConfig

func NewConfig() (*Config, error)

func (*Config) Addr

func (c *Config) Addr() string

func (*Config) BrowserTimeout added in v1.2.2

func (c *Config) BrowserTimeout() time.Duration

func (*Config) CloudTasksLocation added in v1.1.0

func (c *Config) CloudTasksLocation() string

func (*Config) CloudTasksQueue added in v1.1.0

func (c *Config) CloudTasksQueue() string

func (*Config) ConversationIDs

func (c *Config) ConversationIDs() repository.ConversationIDs

func (*Config) DefaultLocation added in v1.2.0

func (c *Config) DefaultLocation() *time.Location

func (*Config) ImageBucket added in v1.2.0

func (c *Config) ImageBucket() string

func (*Config) InvokerServiceAccountEmail added in v1.2.8

func (c *Config) InvokerServiceAccountEmail() string

func (*Config) InvokerServiceAccountID added in v1.2.7

func (c *Config) InvokerServiceAccountID() string

func (*Config) LINEChannelSecret

func (c *Config) LINEChannelSecret() string

func (*Config) LINEChannelToken

func (c *Config) LINEChannelToken() string

func (*Config) OTELSamplingRate added in v1.2.8

func (c *Config) OTELSamplingRate() float64

func (*Config) ServiceEndpoint added in v1.1.0

func (c *Config) ServiceEndpoint(path string) (*url.URL, error)

func (*Config) WeatherAPI added in v1.2.0

func (c *Config) WeatherAPI() string

func (*Config) WeatherAPITimeout added in v1.2.2

func (c *Config) WeatherAPITimeout() time.Duration

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL