status-go/mobile/requests/input_connection_string_for_bootstrapping.go
frank 735a422230
chore_: create v2 endpoints for status.go to solve EndpointsUnsupported in endpoints.go (#5943)
* chore_: create v2 endpoints for status.go to use status-backend server

* feat_: support using http for media server (#6060)
2024-11-19 09:31:29 +00:00

17 lines
477 B
Go

package requests
import (
"gopkg.in/go-playground/validator.v9"
"github.com/status-im/status-go/server/pairing"
)
type InputConnectionStringForBootstrapping struct {
ConnectionString string `json:"connectionString" validate:"required"`
ReceiverClientConfig *pairing.ReceiverClientConfig `json:"receiverClientConfig" validate:"required"`
}
func (r *InputConnectionStringForBootstrapping) Validate() error {
return validator.New().Struct(r)
}