Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func OrderHandler ¶
Types ¶
type AuthConfig ¶
type AuthConfig struct { CookieSigningKey string `json:"CookieSigningKey"` CookieEncryptionKey string `json:"CookieEncryptionKey"` BoltPath string `json:"BoltPath"` TokenFile string `json:"TokenFile"` }
func (AuthConfig) Tokens ¶
func (c AuthConfig) Tokens() (values []string, err error)
type ExchangeService ¶
type ExchangeService struct {
// contains filtered or unexported fields
}
func NewExchangeService ¶
func NewExchangeService(logger log.Logger, cfg ExchangeServiceConfig) *ExchangeService
func (*ExchangeService) Start ¶
func (s *ExchangeService) Start() error
func (*ExchangeService) Stop ¶
func (s *ExchangeService) Stop()
type ExchangeServiceConfig ¶
type ExchangeServiceConfig struct { Host string `json:"Host"` Port int32 `json:"Port"` AuthConfig AuthConfig `json:"AuthConfig"` }
Click to show internal directories.
Click to hide internal directories.