Documentation
¶
Overview ¶
Copyright 2019-2020 Axetroy. All rights reserved. MIT license.
Copyright 2019-2020 Axetroy. All rights reserved. MIT license.
Copyright 2019-2020 Axetroy. All rights reserved. MIT license.
Copyright 2019-2020 Axetroy. All rights reserved. MIT license.
Copyright 2019-2020 Axetroy. All rights reserved. MIT license.
Index ¶
- func Create(c helper.Context, input CreateNewParams) (res schema.Response)
- func CreateRouter(c *gin.Context)
- func Delete(c helper.Context, addressId string) (res schema.Response)
- func DeleteNewsById(id string)
- func DeleteRouter(c *gin.Context)
- func GetNews(id string) (res schema.Response)
- func GetNewsList(input Query) (res schema.List)
- func GetNewsListRouter(c *gin.Context)
- func GetNewsRouter(c *gin.Context)
- func Update(c helper.Context, newsId string, input UpdateParams) (res schema.Response)
- func UpdateRouter(c *gin.Context)
- type CreateNewParams
- type Query
- type UpdateParams
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateRouter ¶
func DeleteNewsById ¶
func DeleteNewsById(id string)
func DeleteRouter ¶
func GetNewsList ¶
func GetNewsListRouter ¶
func GetNewsRouter ¶
func UpdateRouter ¶
Types ¶
type CreateNewParams ¶
type UpdateParams ¶
Click to show internal directories.
Click to hide internal directories.