Versions in this module Expand all Collapse all v1 v1.0.4 Sep 11, 2025 Changes in this version type RustMapsStatusResponseDataBiomePercentages + J float64 v1.0.3 Feb 18, 2025 v1.0.2 Feb 18, 2025 v1.0.1 Feb 18, 2025 v1.0.0 Jan 20, 2025 Changes in this version + type RateLimiter struct + func NewRateLimiter(callsPerMinute int) *RateLimiter + func (r *RateLimiter) Wait() + type RustMapsClient struct + ApiUrl string + func (c *RustMapsClient) GenerateCustom(log *zap.Logger, m *types.Map) (*RustMapsGenerateResponse, error) + func (c *RustMapsClient) GenerateProcedural(log *zap.Logger, m *types.Map) (*RustMapsGenerateResponse, error) + func (c *RustMapsClient) GetLimits(log *zap.Logger) (*RustMapsLimitsResponse, error) + func (c *RustMapsClient) GetStatus(log *zap.Logger, m *types.Map) (*RustMapsStatusResponse, error) + func (r *RustMapsClient) SetApiKey(apiKey string) + type RustMapsClientBase interface + GenerateCustom func(log *zap.Logger, m *types.Map) (*RustMapsGenerateResponse, error) + GenerateProcedural func(log *zap.Logger, m *types.Map) (*RustMapsGenerateResponse, error) + GetLimits func(log *zap.Logger) (*RustMapsLimitsResponse, error) + GetStatus func(log *zap.Logger, m *types.Map) (*RustMapsStatusResponse, error) + SetApiKey func(apiKey string) + func NewRustMapsClient(apiKey string) RustMapsClientBase + type RustMapsGenerateCustomRequest struct + ConfigName string + MapParameters RustMapsGenerateProceduralRequest + type RustMapsGenerateProceduralRequest struct + Seed string + Size int + Staging bool + type RustMapsGenerateResponse struct + Data RustMapsGenerateResponseData + Meta RustMapsGenerateResponseMeta + type RustMapsGenerateResponseData struct + CurrentStep string + LastGeneratorPingUtc time.Time + MapID string + QueuePosition int + State string + type RustMapsGenerateResponseMeta struct + Errors []string + Status string + StatusCode int + type RustMapsLimitsResponse struct + Data RustMapsLimitsResponseData + Meta RustMapsLimitsResponseMeta + type RustMapsLimitsResponseData struct + Concurrent RustMapsLimitsResponseDataConcurrent + Monthly RustMapsLimitsResponseDataMonthly + type RustMapsLimitsResponseDataConcurrent struct + Allowed int + Current int + type RustMapsLimitsResponseDataMonthly struct + Allowed int + Current int + type RustMapsLimitsResponseMeta struct + Errors []string + Status string + StatusCode int + type RustMapsStatusResponse struct + Data RustMapsStatusResponseData + Meta RustMapsStatusResponseMeta + type RustMapsStatusResponseData struct + BiomePercentages RustMapsStatusResponseDataBiomePercentages + BuildableRocks int + CanDownload bool + Canyons int + DownloadURL string + ID string + IceLakes int + ImageIconURL string + ImageURL string + IsCustomMap bool + IsStaging bool + Islands int + Lakes int + LandPercentageOfMap int + Monuments []RustMapsStatusResponseDataMonuments + Mountains int + Oases int + RawImageURL string + Rivers int + SaveVersion int + Seed int + Size int + ThumbnailURL string + TotalMonuments int + Type string + URL string + type RustMapsStatusResponseDataBiomePercentages struct + D float64 + F float64 + S float64 + T float64 + type RustMapsStatusResponseDataCoordinates struct + X int + Y int + type RustMapsStatusResponseDataMonuments struct + Coordinates RustMapsStatusResponseDataCoordinates + NameOverride string + Type string + type RustMapsStatusResponseMeta struct + Errors []string + Status string + StatusCode int