mirror of
https://github.com/sonr-io/sonr.git
synced 2026-08-04 10:21:40 +00:00
32 lines
480 B
Plaintext
32 lines
480 B
Plaintext
@go.Package { name = "github.com/onsonr/sonr/pkg/gateway/types" }
|
|||
|
|
|
||
|
|
module sonr.hway.Gate
|
||
|
|
|
||
|
|
import "package://pkg.pkl-lang.org/pkl-go/pkl.golang@0.5.0#/go.pkl"
|
||
|
|
|
||
|
|
class JsonField extends go.Field {
|
||
|
|
structTags {
|
||
|
|
["json"] = "%{name},omitempty"
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
class Config {
|
||
|
|
@JsonField
|
||
|
|
chainId: String
|
||
|
|
|
||
|
|
@JsonField
|
||
|
|
ipfsGatewayUrl: String
|
||
|
|
|
||
|
|
@JsonField
|
||
|
|
landingUrl: String
|
||
|
|
|
||
|
|
@JsonField
|
||
|
|
authProxyUrl: String
|
||
|
|
|
||
|
|
@JsonField
|
||
|
|
sonrApiUrl: String
|
||
|
|
|
||
|
|
@JsonField
|
||
|
|
sonrRpcUrl: String
|
||
|
|
}
|