Documentation ¶
Overview ¶
* Copyright 2021 M1K * * 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 2021 M1K * * 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 2021 M1K * * 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 2021 M1K * * 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 ¶
- func CreateCrypto(guildID string, d *db.DB, channelType int, author, ticker string, ...) (chan bool, bool, error)
- func CreateOption(sess *discordgo.Session, author, guildID string, d *db.DB, channelType int, ...) (chan bool, bool, string, error)
- func CreateShort(sess *discordgo.Session, author, guildID string, d *db.DB, ...) (chan bool, bool, error)
- func CreateStock(sess *discordgo.Session, author, guildID string, d *db.DB, ...) (chan bool, bool, error)
- func RemoveCrypto(guildID string, d *db.DB, ticker string) error
- func RemoveCryptoAndRecordHigh(guildID string, d *db.DB, ticker string) error
- func RemoveOption(sess *discordgo.Session, guildID string, d *db.DB, ...) error
- func RemoveOptionAndRecordHigh(guildID string, d *db.DB, ticker, cType, day, month, year string, ...) error
- func RemoveShort(sess *discordgo.Session, guildID string, d *db.DB, ticker string) error
- func RemoveShortAndRecordHigh(guildID string, d *db.DB, ticker string) error
- func RemoveStock(sess *discordgo.Session, guildID string, d *db.DB, ticker string) error
- func RemoveStockAndRecordHigh(guildID string, d *db.DB, ticker string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateCrypto ¶
func CreateOption ¶
func CreateShort ¶
func CreateStock ¶
func RemoveOption ¶
func RemoveShort ¶
func RemoveStock ¶
Types ¶
This section is empty.