Documentation ¶
Overview ¶
shottower Copyright (C) 2022 Rémy Boulanouar
This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EndpointType ¶
type EndpointType int64
const ( V1 EndpointType = iota Stage )
func (EndpointType) String ¶
func (s EndpointType) String() string
type ShottowerConfig ¶
type ShottowerConfig struct {
// contains filtered or unexported fields
}
func (*ShottowerConfig) GetDownloadBaseURL ¶
func (s *ShottowerConfig) GetDownloadBaseURL() string
func (*ShottowerConfig) GetEndpointType ¶
func (s *ShottowerConfig) GetEndpointType() EndpointType
func (*ShottowerConfig) GetRenderBaseURL ¶
func (s *ShottowerConfig) GetRenderBaseURL() string
func (*ShottowerConfig) GetRootURL ¶
func (s *ShottowerConfig) GetRootURL() string
func (*ShottowerConfig) GetServeBaseURL ¶
func (s *ShottowerConfig) GetServeBaseURL() string
type ShottowerConfiguration ¶
type ShottowerConfiguration interface { GetRootURL() string GetRenderBaseURL() string GetServeBaseURL() string GetDownloadBaseURL() string GetEndpointType() EndpointType }
func NewShottowerConfig ¶
func NewShottowerConfig(baseURL string, endpointType EndpointType) ShottowerConfiguration