Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewStructValidator ¶
func NewStructValidator() *structValidator
Types ¶
type RestApp ¶
type RestApp struct {
// contains filtered or unexported fields
}
func New ¶
func New(ctx context.Context, serv *service.Service, cfg runtimecfg.RestConfig, opts ...RestAppOption) (*RestApp, error)
type RestAppOption ¶
func WithTelegramBot ¶
func WithTelegramBot(bot common.TelegramBot) RestAppOption
type ValidationError ¶
func (ValidationError) Error ¶
func (e ValidationError) Error() string
Click to show internal directories.
Click to hide internal directories.