constants

package
v0.0.0-...-fd49861 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 22, 2019 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Overview

Copyright 2017 Jeffry Hesse

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Copyright 2017 Jeffry Hesse

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Index

Constants

View Source
const (
	EnvironmentVariablePrefix    string = "BBS"
	RegistrationEmailEnvVariable string = "REGISTRATION_EMAIL_TEMPLATE_ID"
	SendGridAPIKeyEnvVariable    string = "SENDGRID_API_KEY"
	EmailFromAddressEnvVariable  string = "EMAIL_FROM_ADDRESS"
	EmailFromNameEnvVariable     string = "EMAIL_FROM_NAME"
	BoardURLVerifyEnvVariable    string = "BOARD_URL_VERIFY"
	BoardURLDonateEnvVariable    string = "BOARD_URL_DONATE"
	BoardURLCorsEnvVariable      string = "BOARD_URL_CORS"
	BoardSendNewUserEmailSubject string = "BOARD_SEND_NEW_USER_EMAIL_SUBJECT"
	RedisURLEnvVariable          string = "REDIS_URL"
)
View Source
const (
	SendgridSendMailAPIPathV3 string = "/v3/mail/send"
	SendGridAPIBasePath       string = "https://api.sendgrid.com"
	RedisURL                  string = "redis_db:6379"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Role

type Role int
const (
	Admin             Role = 0
	Mod               Role = 1
	Elite             Role = 2
	User              Role = 3
	Muted             Role = 4
	Banned            Role = 5
	NeedsConfirmation Role = 6
)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL