Documentation ¶
Index ¶
- type Service
- func (s *Service) AddTemplate(c context.Context, mid int64, typeid int16, ...) (err error)
- func (s *Service) Close()
- func (s *Service) DelTemplate(c context.Context, id, mid int64, now time.Time) (err error)
- func (s *Service) Ping(c context.Context) (err error)
- func (s *Service) Templates(c context.Context, mid int64) (tps []*template.Template, err error)
- func (s *Service) UpdateTemplate(c context.Context, id, mid int64, typeid int16, ...) (err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service struct
func (*Service) AddTemplate ¶
func (s *Service) AddTemplate(c context.Context, mid int64, typeid int16, cp, name, title, tag, content string, now time.Time) (err error)
AddTemplate add template for archive.
func (*Service) DelTemplate ¶
DelTemplate delete template.
Click to show internal directories.
Click to hide internal directories.