Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
Types ¶
type Service ¶
type Service interface { Get(ctx context.Context, id int) (resp *types.Notices, err error) Post(ctx context.Context, req proclaimRequest) (err error) List(ctx context.Context, name string, page int, limit int) (res map[string]interface{}, err error) ContentHtmlHandle(content string) (body string, err error) }
func NewService ¶
func NewService(logger log.Logger, cf *config.Config, amqpClient amqpClient.AmqpClient, store repository.Repository) Service
Click to show internal directories.
Click to hide internal directories.